[indent=4] /* Build with valac --pkg gtk+-2.0 yourfile.gs */ uses Gtk init Gtk.init (ref args) var test = new NotebookTest () test.show_all () Gtk.main () class NotebookTest : Window notebook : Notebook delete_button : ToolButton status_bar : Statusbar init title = "Simple Notebook Test" default_height = 350 default_width = 500 window_position = WindowPosition.CENTER destroy += on_exit_clicked var toolbar = new Toolbar () var new_button = new ToolButton.from_stock (STOCK_