daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Mar 1st, 2014 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using Gtk;
  2.  
  3. class Fenster : Window {
  4.         private Button b;
  5.  
  6.         public Fenster( string label ) {
  7.                 b = new Button.with_label( label );
  8.                 this.add( b );
  9.                 this.show_all();
  10.         }
  11. }
  12.  
  13. public static int main( string[] args )
  14. {
  15.         init( ref args );
  16.         Fenster f = new Fenster( "Hallo Welt" );
  17.         Gtk.main();
  18.         return( 0 );
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top