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.

--- 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]



gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

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