#!/usr/bin/ruby

#
## http://rosettacode.org/wiki/Window_creation
#

use('Gtk3 -init')
var gtk3 = %O'Gtk3'
var window = %O'Gtk3::Window'.new;
window.signal_connect(destroy => func(_) { gtk3.main_quit });
window.show_all;
gtk3.main;
