1 static GladeView _GladeView;
3 public class GladeView : Object
6 private GladeView _this;
8 public static GladeView singleton()
10 if (_GladeView == null) {
11 _GladeView= new GladeView();
22 this.el = new Gtk.Dialog();
27 var child_0 = new Xcls_Button2( _this );
28 this.el.add_action_widget( child_0.el, 0);
29 var child_1 = new Xcls_Button3( _this );
30 this.el.add_action_widget( child_1.el, 1);
31 var child_2 = new Xcls_Box4( _this );
33 this.el.get_content_area().add( child_2.el );
36 // user defined functions
37 public class Xcls_Button2 : Object
40 private GladeView _this;
46 public Xcls_Button2(GladeView _owner )
49 this.el = new Gtk.Button();
54 this.el.label = "Label";
57 // user defined functions
60 public class Xcls_Button3 : Object
63 private GladeView _this;
69 public Xcls_Button3(GladeView _owner )
72 this.el = new Gtk.Button();
77 this.el.label = "Label";
80 // user defined functions
83 public class Xcls_Box4 : Object
86 private GladeView _this;
92 public Xcls_Box4(GladeView _owner )
95 this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
102 // user defined functions