Re: [gtk-list] Saving window size
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Saving window size
- Date: Thu, 6 May 1999 18:31:16 -0400 (EDT)
On Thu, 6 May 1999, Brian Cooke wrote:
> I have a problem (which should be easy to solve).
> I can't find the documentation or any examples on how to save the size
> of a window (ie. the width and height). I was hoping there would be
> some nice easy calls for this (like there is for everything else I've
> needed), but I can't find them.
> How should I go about saving the width and height of my dialog window?
In gnome-libs/libgnomeui/gnome-geometry.h there are nice calls for this;
copy the source code if nothing else. You can read the code on
www.gnome.org/lxr without downloading a Gnome tarball.
] [Thread Prev