4 ms·
No. The Vala code is creating an entire window and application. Your HTML code is just creating a button inside a window and application that already exists. T
by aroman 4y ago
No. The Vala code is creating an entire window and application. Your HTML code is just creating a button inside a window and application that already exists.
The equivalent portion is just these two lines:
var btn = new Gtk.Button.with_label("Hello World");
btn.click.connect(win.close);