Re: drawing area in scrolled window



Chris <bloodso yahoo com> writes:
> Hello.   I am having trouble using a drawing area in a scrolled window.  I am 
> unable to scroll the drawing area.  I have tried using a callback for the 
> viewport in the scrolled window to set the vertical and horizontal 
> adjustments for the size of the drawing area but that does not seem to work.  
> Is it possible to scroll a drawing area with a scrolled window or will I have 
> to use vertical and horizontal scrollbars?
> 

It should work, you have to be sure to use
gtk_scrolled_window_add_with_viewport().

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]