Re: Widget-Size
- From: James Henstridge <james daa com au>
- To: Roberto Sobachi <robyegiuly libero it>
- Cc: <gnome-devel-list gnome org>
- Subject: Re: Widget-Size
- Date: Sat, 16 Jun 2001 17:02:59 +0800 (WST)
On Sat, 16 Jun 2001, Roberto Sobachi wrote:
>
> I want to know the size of a widget loaded into desktop. How?
Try looking in the widget->allocation structure member. It is a
GtkAllocation structure (see the gtkwidget.h header for details).
You won't be able to get the actual size of the widget until the window is
realized though.
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]