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.
21 lines
485 B
Vala
21 lines
485 B
Vala
using Gtk;
|
|
|
|
int main (string[] args) {
|
|
Gtk.init (ref args);
|
|
var foo = new MyFoo<string[](), MyBar<string, int>>();
|
|
|
|
var window = new Window();
|
|
window.title = "Hello, World!";
|
|
window.border_width = 10;
|
|
window.window_position = WindowPosition.CENTER;
|
|
window.set_default_size(350, 70);
|
|
window.destroy.connect(Gtk.main_quit);
|
|
|
|
var label = new Label("Hello, World!");
|
|
|
|
window.add(label);
|
|
window.show_all();
|
|
|
|
Gtk.main();
|
|
return 0;
|
|
} |