[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Get Widget's actual size?
- From: Ed Davison <Ed Davison bus utexas edu>
- To: "'gtk-app-devel-list redhat com'" <gtk-app-devel-list redhat com>
- Subject: RE: Get Widget's actual size?
- Date: Fri, 11 Feb 2000 11:58:54 -0600
> From: Havoc Pennington [mailto:hp@redhat.com]
>
> The only real officially-sanctioned definitely-OK way to get the
> actual size (I think) is to connect to size_allocate and use the last
> size which was allocated to the widget. This last size is also the
> same as widget->allocation, but typically you need the callback
> connection because it's hard to know when widget->allocation becomes
> the "final" size (if such a thing is even possible).
Can you include some sample code for connecting to size_allocate as this
is not very well documented on the Gtk site? (This would be very useful!)
Ed Davison
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]