waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

test.vala (419B)


      1 using Gtk;
      2 
      3 [GtkTemplate (ui="/org/test/appwindow.ui")]
      4 class TestWindow : Gtk.ApplicationWindow {
      5     public TestWindow(Gtk.Application app) {
      6         Object(application: app);
      7     }
      8 }
      9 
     10 class TestApp : Gtk.Application {
     11     public override void activate() {
     12         var window = new TestWindow(this);
     13 
     14         window.show_all();
     15     }
     16 }
     17 
     18 int main(string[] args) {
     19     var app = new TestApp();
     20 
     21     return app.run();
     22 }