Advertisement
Guest User

test.vala

a guest
Dec 8th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Vala 0.37 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement