2 valac --pkg gio-2.0 --pkg posix --pkg gtk+-3.0 --pkg libnotify --pkg libwnck-3.0 \
9 static int main (string[] args) {
12 // new Xcls_EditorWindow();
13 EditorWindow.show_all();
21 static class EditorWindow : Gtk.Window
23 public static EditorWindow _this;
24 public Xcls_save_button save_button;
28 this.height_request = 300;
29 this.title = "Application Builder - Editor";
30 this.width_request = 500;
31 this.add ( new Xcls_VBox2() );
33 public class Xcls_VBox2 : Gtk.VBox
37 this.pack_start ( new Xcls_Toolbar3(), false,true );
40 public class Xcls_Toolbar3 : Gtk.Toolbar
42 public Xcls_Toolbar3()
44 this.add ( new Xcls_save_button() );
47 public class Xcls_save_button : Gtk.ToolButton
49 public Xcls_save_button()
51 _this.save_button = this;