Re: How to accept extra command line args?
- From: Miguel de Icaza <miguel nuclecu unam mx>
- To: gnome-devel-list gnome org, sopwith cuc edu
- CC: gnome-devel-list gnome org
- Subject: Re: How to accept extra command line args?
- Date: Tue, 23 Feb 1999 17:50:50 -0600
> My application has some non-Gnome command line parameters. The existing
> code parses these, but doesn't exactly leave argv in a good state (I
> didn't write this code, BTW). This precludes doing my argv parsing
> before calling gnome_init(). However, gnome_init (unlike gtk_init)
> aborts if it encounters unknown parameters.
In gnome you should use the popt to declare the options you want to
process. There are a number of examples on how to do so.
I am sure Sopwith can tell you where to get this information.
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]