Re: scrolled windows, again
- From: Havoc Pennington <hp redhat com>
- To: Paul Davis <pbd op net>
- Cc: gtk-list gnome org
- Subject: Re: scrolled windows, again
- Date: 24 Sep 2001 14:28:41 -0400
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]