Re: Documentation about the GTK+ Standard Args



On Mon, Nov 13, 2000 at 09:51:40PM -0500, D-Man wrote:
> Just find any gtk application and run "app --help" to find the options.

I found one:

	% ethereal --help

but it just popped up its standard 3-pane window; it didn't print
anything.  (You use "-h" on Ethereal.)

I found another one:

	% xmms --help

but all it printed was:

	Usage: xmms [options] [files] ...

	Options:
	--------

	-h, --help              Display this text and exit.
	-n, --session           Select XMMS session (Default: 0)
	-r, --rew               Skip backwards in playlist
	-p, --play              Start playing current playlist
	-u, --pause             Pause current song
	-s, --stop              Stop current song
	-f, --fwd               Skip forward in playlist
	-e, --enqueue           Don't clear the playlist
	-m, --show-main-window  Show the main window.
	-v, --version           Print version number and exit.

with no description of generic GTK+ options - which is what he was
looking for, not the options for a particular application.

GTK+ 1.2.8, at least, doesn't treat "--help" specially in
"gtk_init_check()" (which is what "gtk_init()" calls); in fact, I don't
see anything to treat "--help" specially anywhere in GTK+ 1.2.8 (nor in
GLib 1.2.8, for that matter).

There also doesn't seem to be anything in the current CVS version of
GTK+ to treat "--help" specially.

Perhaps GNOME applications do that, but that doesn't automatically
happen with GTK+ applications.




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