Re: Geometry Management
- From: Paul Davis <paul linuxaudiosystems com>
- To: Matthew Bucknall <matthew bucknall googlemail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Geometry Management
- Date: Sun, 25 Sep 2011 18:07:12 -0400
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]