"$ xns" : "Gtk"
}
]
- }
- ]
- },
- {
- "listeners" : {
- "clicked" : " ( ) => {\n _this.windowstate.switchState(WindowState.State.FILES);\n \n\n}"
- },
- "* pack" : false,
- "xtype" : "Button",
- "width_request" : 50,
- "$ xns" : "Gtk",
- "height_request" : 50,
- "$ tooltop_text" : "\"Open File\"",
- "items" : [
+ },
{
- "xtype" : "Image",
- "utf8 icon_name" : "document-open",
- "* pack" : "set_image",
- "$ xns" : "Gtk"
+ "listeners" : {
+ "clicked" : " ( ) => {\n _this.windowstate.switchState(WindowState.State.FILES);\n \n\n}"
+ },
+ "* pack" : false,
+ "xtype" : "Button",
+ "width_request" : 50,
+ "$ xns" : "Gtk",
+ "height_request" : 50,
+ "$ tooltop_text" : "\"Open File\"",
+ "items" : [
+ {
+ "xtype" : "Image",
+ "utf8 icon_name" : "document-open",
+ "* pack" : "set_image",
+ "$ xns" : "Gtk"
+ }
+ ]
+ },
+ {
+ "listeners" : {
+ "clicked" : " ( ) => {\n \n _this.windowstate.switchState(WindowState.State.PREVIEW);\n \n\n}"
+ },
+ "utf8 tooltip_text" : "Back",
+ "xtype" : "Button",
+ "* pack" : false,
+ "width_request" : 50,
+ "$ xns" : "Gtk",
+ "height_request" : 50,
+ "items" : [
+ {
+ "* pack" : "set_image",
+ "xtype" : "Image",
+ "utf8 icon_name" : "go-previous",
+ "$ xns" : "Gtk"
+ }
+ ]
}
]
}
]
},
- {
- "listeners" : {
- "clicked" : " ( ) => {\n \n _this.windowstate.switchState(WindowState.State.PREVIEW);\n \n\n}"
- },
- "utf8 tooltip_text" : "Back",
- "xtype" : "Button",
- "* pack" : false,
- "width_request" : 50,
- "$ xns" : "Gtk",
- "height_request" : 50,
- "items" : [
- {
- "* pack" : "set_image",
- "xtype" : "Image",
- "utf8 icon_name" : "go-previous",
- "$ xns" : "Gtk"
- }
- ]
- },
{
"id" : "vbox",
"* pack" : "add",
var child_0 = new Xcls_headerbar( _this );
child_0.ref();
this.el.set_titlebar ( child_0.el );
- var child_1 = new Xcls_Button13( _this );
+ var child_1 = new Xcls_vbox( _this );
child_1.ref();
- var child_2 = new Xcls_vbox( _this );
- child_2.ref();
- this.el.add ( child_2.el );
+ this.el.add ( child_1.el );
// init method
var child_0 = new Xcls_Box3( _this );
child_0.ref();
this.el.pack_start ( child_0.el );
- var child_1 = new Xcls_Button11( _this );
- child_1.ref();
}
// user defined functions
var child_0 = new Xcls_MenuButton4( _this );
child_0.ref();
this.el.add ( child_0.el );
+ var child_1 = new Xcls_Button11( _this );
+ child_1.ref();
+ var child_2 = new Xcls_Button13( _this );
+ child_2.ref();
}
// user defined functions
}
-
public class Xcls_Button11 : Object
{
public Gtk.Button el;
}
-
public class Xcls_Button13 : Object
{
public Gtk.Button el;
}
+
+
public class Xcls_vbox : Object
{
public Gtk.Box el;