Re: [gtk-list] X11 commandline args?
- From: Havoc Pennington <rhp zirx pair com>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Re: [gtk-list] X11 commandline args?
- Date: Fri, 26 Mar 1999 15:07:09 -0500 (EST)
On Fri, 26 Mar 1999, Dean Neumann wrote:
>
> Can someone please tell me how one specifies the equivalent of -geometry
> (and other standard X11 commandline arguments) to a GTK app? I looked
> through the GTK reference manual and saw the function gtk_init( int
> *argc, char **argv) which says "This function will remove any command
> line arguments from argc and argv that it understands" but I cannot seem
> to find a list of the commandline arguments that GTK understands. I'm
> using gimp and gtimer on sparc-solaris-2.6.
>
It depends on the application - Gtk has no way of knowing which window is
the main application window or how --geometry should be interpreted.
Applications should have this option though, if they don't you might mail
the author of the application.
You can get a list of supported options with the --help option, for most
programs. I don't know if it's actually in Gtk itself (?). It is in Gnmome
though so all Gnome apps have --help.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]