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

Re: passing arguments from commandline



  You would get the arguments the same way you would using a plain C program.
Glade has noting to do with the argument parsing.
 On a GTK program, however, when you call gtk_init/glib_init, they  might
change the argument vector. Note that others lib might do the same.



  Harring.
--- Daniel Schlager <dschlager@kaindl.com> wrote:
> Hello List,
> 
> 
> how can i use the argv in a gtk c program which is created with glade?
> 
> i would like to use the argv in main.c
> 
> 
> the program must change a text from a textfield when i give a argument
> 
> prg1 hello
> argv[0] argv[1]
> 
> 
> thanks
> 
> Daniel
> 
> 
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



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