Joined: Fri Jan 11, 2008 12:52 am Posts: 3
|
|
I have two widgets (a GtkDrawingArea and a GtkNotebook) both in a paned window. I would like the paned window to go left to right (a HPaned) if the window width is larger than the window height and go up and down (a VPaned) if the window height is larger.
What would be the best way to implement this? Without digging in to far the way I see is to destroy the Paned and create a new one (of the other type) each time the size changes over. But before I get started is there a better way? Is there a way to create a GtkPaned (the base class) and just tell it what orientation to take and be able to switch to the other?
thanks,
-kyle
|
|