Re: GNOME and geometry specifications



Hi,

>>>>> On Wed, 17 Mar 1999 20:31:57 +0800 (WST)
>>>>> James Henstridge <james@daa.com.au> said:

 James> One of the problems with getting the toolkit to parse the
 James> --geometry argument is the question of what should it do with
 James> it? Currently GTK+ applications can create as many toplevel
 James> windows as they want, and none is considered more important
 James> than any other by the toolkit.

Perhaps a simple helper function to scan the commandline for
--geometry and return a coordinate quadruple would convince
application authors that it is a good convention to support?

At least the usual gnome app-helper stuff should do it, IMHO.

 James> As for the X resource database, it does have the benefit that
 James> it is associated with the X display rather than the host the
 James> application is running on, but I am not sure how you would map
 James> some of the things that can go in a GTK resource file to Xrdb
 James> settings.

You don't have too. Just treat the Xrdb as another, in some aspects
weaker, source for config settings. If you can't do it with Xrdb, just 
use GTK rc files.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]