Re: Size of a widget

From: Date: Wed, 08 Feb 2006 18:34:52 +0000
Subject: Re: Size of a widget
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6685@lists.php.net to get a copy of this message
Breizh Micro Services wrote:
How can I get size of a widget ? (width and height) I'm trying to put a GtkSheet in a GtkNotebook page with a GtkScrolledWindow and it shows really small. I have to use set_usize() function to size up the GtkScrolledWindow. But I want to make it dynamically and I do not know how.
Take a look at the allocation property of the widget (http://gtk.php.net/manual/en/gtk.gtkwidget.property.allocation.php). It holds position and size information. Keep in mind that the widget must be realized before the allocation property will have any data. -- Scott Mattocks http://www.crisscott.com

« previous php.gtk.general (#6685) next »