Guest User

test.vala

a guest
Dec 8th, 2019
105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int main (string[] args) {
  2.     Gtk.init (ref args);
  3.    
  4.     var window = new Gtk.Window ();
  5.     window.title = "This is my Vala test";
  6.     window.border_width = 10;
  7.     window.window_position = Gtk.WindowPosition.CENTER;
  8.     window.set_default_size (350,80);
  9.    
  10.     window.destroy.connect (Gtk.main_quit);
  11.    
  12.     window.show_all ();
  13.    
  14.     Gtk.main ();    
  15.     return 0;
  16. }
RAW Paste Data