I'm maintaining a gtk2-based application which contains a drawing area with a blank pixmap.
On some user interactions, some items (boxes, etc.) are drawn on the pixmap. We have reached a point where the pixmap (which is initialized with a fixed size) becomes too small.
I haven't found a way to resize the pixmap, which seems weird because I doubt I'm the only one with this problem. For instance, if I want to implement a simple Paint-like program, how do I handle the fact that the user wants to change its drawing size?
What's my best bet here?