"$ xns" : "Gtk"
},
{
- "Gtk.ToolbarStyle toolbar_style" : "Gtk.ToolbarStyle.BOTH_HORIZ",
- "xtype" : "MenuBar",
"* pack" : "pack_end,false,true,0",
+ "xtype" : "MenuBar",
"$ xns" : "Gtk",
- "Gtk.IconSize icon_size" : "Gtk.IconSize.MENU",
- "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
"items" : [
{
- "bool hexpand" : true,
"string label" : "Errors",
"* pack" : "add",
"xtype" : "ToolButton",
// my vars (def)
- public Gtk.ToolbarStyle toolbar_style;
- public Gtk.IconSize icon_size;
- public Gtk.Orientation orientation;
// ctor
public Xcls_MenuBar68(Xcls_MainWindow _owner )
this.el = new Gtk.MenuBar();
// my vars (dec)
- this.toolbar_style = Gtk.ToolbarStyle.BOTH_HORIZ;
- this.icon_size = Gtk.IconSize.MENU;
- this.orientation = Gtk.Orientation.HORIZONTAL;
// set gobject values
var child_0 = new Xcls_ToolButton69( _this );
// set gobject values
this.el.icon_name = "dialog-error";
this.el.no_show_all = false;
- this.el.hexpand = true;
}
// user defined functions