"|buttons": "Gtk.ButtonsType.YES_NO",
"|message_type": "Gtk.MessageType.QUESTION",
"|modal": "true",
- "|show": "function(msg, success) {\n if (!this.el) {\n this.init();\n }\n this.success = success;\n this.el.text = msg;\n this.el.show_all();\n\n}\n\n/*--\nvoid (string msg) {\n //if (!this.el) { this.init(); } \n //this.success = success;\n this.el.text = msg;\n this.el.show_all();\n\n}\n\n*/\n\n\n\n",
+ "|void:show": " (string msg) {\n //if (!this.el) { this.init(); } \n //this.success = success;\n this.el.text = msg;\n this.el.show_all();\n\n}\n \n\n\n\n",
"|show_all": "function() {\n this.show(\"test\");\n}\n/*--\nvoid () {\n this.show(\"test\");\n}\n*/",
"|use_markup": "true",
"|xns": "Gtk"
buttons : Gtk.ButtonsType.YES_NO,
message_type : Gtk.MessageType.QUESTION,
modal : true,
- show : function(msg, success) {
- if (!this.el) {
- this.init();
- }
- this.success = success;
- this.el.text = msg;
- this.el.show_all();
-
- }
-
- /*--
- void (string msg) {
+ 'void:show' : (string msg) {
//if (!this.el) { this.init(); }
//this.success = success;
this.el.text = msg;
this.el.show_all();
- }
-
- */,
+ },
show_all : function() {
this.show("test");
}
// skip |message_type - already used
// skip |modal - already used
-
- // skip |show - no return type
+ public void show (string msg) {
+ //if (!this.el) { this.init(); }
+ //this.success = success;
+ this.el.text = msg;
+ this.el.show_all();
+
+ }
+
// skip |show_all - no return type