[pygtk] Drawing Area

CJ Kucera pez at apocalyptech.com
Fri Mar 20 04:39:27 WST 2009


Peyman wrote:
> Is there any way to make the drawing area widget work with a scrolled  
> window? I noticed that the window increases in size as the drawing  
> area gets bigger, even if it's inside a scrolled window. I'm trying to  
> make a horizontal drawing area that's 10-100 times longer than my window

Do you have a Viewport inbetween the ScrolledWindow and the DrawingArea?  
DrawingAreas themselves aren't scrollable, so they've got to have a
Viewport as well - I imagine that's probably your issue.  I've got a
DrawingArea scrolling just fine in one of my apps.

-CJ

-- 
WOW: Flemmy            |   "Happiness isn't good enough for me!  I
pez at apocalyptech.com   |              demand euphoria!"
24.24.2.3171           |                  - Calvin


More information about the pygtk mailing list