Hello world not show

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

 



I compiled code as below and without any problems, but nothing shown when run it, what should I do next?
/* example-start base base.c */ 
#include <gtk/gtk.h> 
int main( int   argc,
          char *argv[] )
{  
     GtkWidget *window; 
     gtk_init (&argc, &argv); 
     window = gtk_window_new (GTK_WINDOW_TOPLEVEL);      
     gtk_widget_show  (window); 
     gtk_main (); 
     return(0);
} 
/* example-end */
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux