|
|
| Author |
Message |
|
|
alexcurtis
Joined: 27 Aug 2008 Posts: 2
|
Posted: Wed Aug 27, 2008 1:10 pm Post subject: A Scrollable Gtk::DrawingArea |
|
|
Hi,
I have created a drawing area derived from Gtk::DrawingArea. Now I simply want to be able use the drawing area in a scrollable area.
At the moment it is added to and visible in a Gtk::ScrolledWindow. However the scrolled window has no sense of the dimensions of the drawing area and as such the scroll bars don't work.
I'm using gtkmm
Many Thanks
-Alex |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 514 Location: Portland, OR USA
|
Posted: Wed Aug 27, 2008 3:28 pm Post subject: |
|
|
| Not sure on this, but try dropping the drawable into a viewport and that viewport into the scrolled window. |
|
| Back to top |
|
 |
alexcurtis
Joined: 27 Aug 2008 Posts: 2
|
|
| Back to top |
|
 |
|