forked from mirror/waf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
419 B
Vala
23 lines
419 B
Vala
using Gtk;
|
|
|
|
[GtkTemplate (ui="/org/test/appwindow.ui")]
|
|
class TestWindow : Gtk.ApplicationWindow {
|
|
public TestWindow(Gtk.Application app) {
|
|
Object(application: app);
|
|
}
|
|
}
|
|
|
|
class TestApp : Gtk.Application {
|
|
public override void activate() {
|
|
var window = new TestWindow(this);
|
|
|
|
window.show_all();
|
|
}
|
|
}
|
|
|
|
int main(string[] args) {
|
|
var app = new TestApp();
|
|
|
|
return app.run();
|
|
}
|