Ethereal-users: Re: [Ethereal-users] setting geometry?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date Prev · Date Next · Thread Prev · Thread Next
From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 31 Oct 2000 13:23:46 -0800 (PST)
> I've been trying to figure out a way to set ethereal's window geometry
> either via command line, or from resources, and i haven't had any luck.
> 
> Do gtk applications have some weird way of setting X resources, such as
> geometry?

GTK+ doesn't use the X Resource Database, so it has no way of *looking*
at X resources.  (Heck, on some platforms, there is no X for it to
use....)

It doesn't appear from

	http://developer.gnome.org/doc/API/gtk/gtk-resource-files.html

that there's any way to specify window sizes in a gtkrc file.

I think GTK+ 2.0 *might* allow widget arguments to be set from a gtkrc
file, in which case it *might* allow one to set the default height and
width of the top-level window.  However, GTK+ 2.0 is still being
developed, so it's not available yet.