{
"string label" : "Errors",
"* pack" : "add",
- "xtype" : "ToolButton",
+ "xtype" : "ImageMenuItem",
"string icon_name" : "dialog-error",
"$ xns" : "Gtk",
"bool no_show_all" : false
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_ToolButton69( _this );
+ var child_0 = new Xcls_ImageMenuItem69( _this );
child_0.ref();
this.el.add ( child_0.el );
var child_1 = new Xcls_ToolButton70( _this );
// user defined functions
}
- public class Xcls_ToolButton69 : Object
+ public class Xcls_ImageMenuItem69 : Object
{
- public Gtk.ToolButton el;
+ public Gtk.ImageMenuItem el;
private Xcls_MainWindow _this;
// my vars (def)
+ public string icon_name;
// ctor
- public Xcls_ToolButton69(Xcls_MainWindow _owner )
+ public Xcls_ImageMenuItem69(Xcls_MainWindow _owner )
{
_this = _owner;
- this.el = new Gtk.ToolButton( null, "Errors" );
+ this.el = new Gtk.ImageMenuItem();
// my vars (dec)
+ this.icon_name = dialog-error;
// set gobject values
- this.el.icon_name = "dialog-error";
this.el.no_show_all = false;
+ this.el.label = "Errors";
}
// user defined functions