[9394] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: window geometry

daemon@ATHENA.MIT.EDU (Scott Stone)
Mon Oct 19 01:59:07 1998

Date: Mon, 19 Oct 1998 14:59:12 +0900 (JST)
From: Scott Stone <sstone@ume.pht.co.jp>
To: GTK List <gtk-list@redhat.com>
In-Reply-To: <Pine.GSO.3.95.981018231033.19318I-100000@harper.uchicago.edu>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

On Sun, 18 Oct 1998, Havoc Pennington wrote:

> 
> On Mon, 19 Oct 1998, Scott Stone wrote:
> > 
> > Is there any way to pass a standard X geometry string to a window and have
> > it obey?  I've been parsing the dang things myself and using
> > gtk_window_set_uposition(), but that's not very satisfying.  Anyone have
> > any ideas?
> > 
> 
> Gnome has a geometry parsing routine you could cut and paste (or just use
> the Gnome libraries). You could also use XParseGeometry.

oh good lord, I didn't even remember my basic Xlib calls.. sigh.. thanks
for the tip, that's exactly what I needed :)

--------------------------------------------------
Scott M. Stone <sstone@pht.com, sstone@turbolinux.com>
               <sstone@pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post