"items" : [
{
"listeners" : {
- "button_press_event" : "() => {\n if (this.popup == null) {\n this.popup = new Xcls_ValaCompileErrors();\n this.popup.window = _this;\n }\n \n \n this.popup.show(this.notices, this.el);\n return true;\n}"
+ "button_press_event" : "() => {\n/*\n if (this.popup == null) {\n this.popup = new Xcls_ValaCompileErrors();\n this.popup.window = _this;\n }\n \n \n this.popup.show(this.notices, this.el);\n */\n return true;\n}"
},
"bool always_show_image" : true,
"id" : "statusbar_errors",
- "| void setNotices" : "(Json.Object nots, int qty) {\n this.el.show();\n this.el.label = qty.to_string() + \" Errors\";\n this.notices = nots;\n\n}\n",
"Xcls_ValaCompileErrors popup" : "",
"string label" : "Errors",
"* pack" : "add",
"xtype" : "ImageMenuItem",
- "# Json.Object notices" : "new Json.Object() ",
"$ xns" : "Gtk",
"items" : [
{
// my vars (def)
public Xcls_ValaCompileErrors popup;
- public Json.Object notices;
// ctor
public Xcls_statusbar_errors(Xcls_MainWindow _owner )
this.el = new Gtk.ImageMenuItem();
// my vars (dec)
- this.notices = new Json.Object() ;
// set gobject values
this.el.always_show_image = true;
//listeners
this.el.button_press_event.connect( () => {
+ /*
if (this.popup == null) {
this.popup = new Xcls_ValaCompileErrors();
this.popup.window = _this;
this.popup.show(this.notices, this.el);
+ */
return true;
});
}
// user defined functions
- public void setNotices (Json.Object nots, int qty) {
- this.el.show();
- this.el.label = qty.to_string() + " Errors";
- this.notices = nots;
-
- }
}
public class Xcls_Image72 : Object
{