Help for this page

Select Code to Download


  1. or download this
    # for c version
    zentara   15   0 14368    7012   5400   S    0.0    0.7    0:00  .07 .
    +/basic-window-c 
    ...
    #for the Perl version
    zentara   18   0   21700  12m    9056    S   0.0   1.3    0:00     12 
    + 
    ./basic-window.pl
    
  2. or download this
    /* compile  test-c.c with 
    gcc  -o test-c  test-c.c  `pkg-config --cflags --libs gtk+-2.0`
    ...
            gtk_main ();
            return 0; 
    }
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    $window->show_all();
    
    Gtk2->main;