Re: Geometry Management



On Sun, Sep 25, 2011 at 5:36 PM, Matthew Bucknall
<matthew bucknall googlemail com> wrote:
> I'm trying to get my head around GTK+ 3.0's new 'Height-for-width
> Geometry Management'. Sorry if I'm missing it in the documentation
> somewhere, but what exactly is the definition of a widget's natural
> width or height?

its pretty simple: you ask the widget:

   1) If you have to fit into <this> much height, how wide will you be?
   2) if you have to fit into <this> much width, how high will you be?

its up to the widget to define the answers to both questions.


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