[pygtk] Drawing Area

Peyman paskari007 at yahoo.ca
Fri Mar 20 04:40:42 WST 2009


I'll give it a try

Cheers
Peyman Askari

On 19 Mar 2009, at 19:39, CJ Kucera wrote:

> 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