Re: set_resize




Hi,

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.

Cheers,

-Markku-






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