Re[2]: argv

2016-04-12 Thread Andrew Robinson
Hi David, Yes I use gtk_init(), since it is impossible to run any GTK application without it (or at least one of it's alternatives). I have a complete working application but when I tried making a simple modification to the source to read the command line, it won't work and I can't figure out why.

Re: argv

2016-04-12 Thread David Marceau
Taken from an older gtk tutorial, but nevertheless should apply to your situation: http://www.gtk.org/tutorial1.2/gtk_tut-2.html #include int main( int argc, char *argv[] ) { GtkWidget *window; //<<< //DID YOU INTRODUCE THIS LINE IN YOUR CODE?