Files
vala-examples/hello-gtk/src/gtk_foobar.vala~
2023-02-26 00:50:25 +09:00

21 lines
509 B
Vala

using kr.pe.elex.hello_world;
namespace kr.pe.elex.hello_world {
class MyApplication : Gtk.Application {
protected override void activate () {
var window = new Gtk.ApplicationWindow (this);
window.set_title ("Welcome to GNOME");
window.set_default_size (200, 100);
var label = new Gtk.Label ("Hello GNOME!");
window.add (label);
window.show_all ();
}
}
}
int main (string[] args) {
return new MyApplication ().run (args);
}