Re: scrolled windows, again



Paul Davis <pbd op net> writes:
> how do i keep a scrolled window from thinking that it can
> be any size it wants to be? or put another way, how does a scrolled
> window decide how large it wants to be? it can't use the size of the
> included widget, since the whole point of the scrolled window is to be
> able to scroll around a larger widget in a smaller viewport. 
> 
> so what does a scrolled window use for its requisition size?

I believe it requests just the size needed for the scrollbars.

Typically what you want to do with a scrolled window is set the
default size of the toplevel with gtk_window_set_default_size().

Havoc




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