Hello world not show



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 */


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