- From: markku vire iki fi
- To: Pietro Battiston <toobaz email it>
- Cc: gtk-devel-list gnome org
- Subject: Re: set_resize
- Date: Wed, 14 Jan 2009 15:19:21 +0200
Quoting Pietro Battiston <toobaz email it>:
the documentation for gtk_widget_size_request () says:
"Also remember that the size request is not necessarily the size a
widget will actually be allocated."
While there may be a lot of reasons why a widget doesn't get the area
requested, I imagine(d) the basic one would be "because there is not
enough space on the screen for everyone".
The most common case when requisition and allocation differ is that a widget
gets more space than it requested. This happens easily when widget is packed
into container (like GtkVBox/GtkHBox) and is set to expand.
] [Thread Prev