Re: GtkWidget allocation property
| From: | Andrei Zmievski | Date: | Sat, 25 May 2002 02:03:16 +0000 |
| Subject: | Re: GtkWidget allocation property | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2053@lists.php.net to get a copy of this message | ||
> I am trying to make my application remember its state by saving the
> position and size of the main window in a configuration file.
>
> I am using the allocation property, which returns an allocation
> object. The x and y properties of this object are always 0 (on win
> 2k). Is this a bug, or am I using the wrong function?
The best way to go about it is to connect to 'configure_event' and
capture the size information there.
-Andrei http://www.gravitonic.com/