"items": [
{
"listeners": {
- "response": "function (self, response_id) {\n this.el.hide();\n print(\"RESPOSE: \" + response_id);\n if (response_id == -8) { //yes!\n print(\"CALL SUCCES?\")\n this.success(); // fixme a delegate\n }\n}\n/*--\n ( response_id) => {\n this.el.hide();\n //print(\"RESPOSE: \" + response_id);\n if (response_id == -8) { //yes!\n print(\"CALL SUCCES?\");\n // this.success();\n }\n\n}\n*/",
+ "response": "function (self, response_id) {\n this.el.hide();\n print(\"RESPOSE: \" + response_id);\n if (response_id == -8) { //yes!\n print(\"CALL SUCCES?\")\n this.success(); // fixme a delegate\n }\n}\n/*--\n ( response_id) => {\n this.el.hide();\n //print(\"RESPOSE: \" + response_id);\n if (response_id == -8) { //yes!\n print(\"CALL SUCCES?\");\n // this.success();\n }\n\n\n}\n*/",
"delete_event": "function (self, event) {\n this.el.hide();\n return true;\n}\n/*--\n(event) => {\n this.el.hide();\n return true;\n}\n*/\n\n\n"
},
"text": "Tests",
"title": "Please Confirm d",
"xtype": "MessageDialog",
- "|show_all": "function() {\n this.show(\"test\");\n}\n/*--\nvoid () {\n this.show(\"test\");\n}\n*/",
"|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",
+ "|show_all": "function() {\n this.show(\"test\");\n}\n/*--\nvoid () {\n this.show(\"test\");\n}\n*/",
"|use_markup": "true",
"|xns": "Gtk"
}
// this.success();
}
+
}
*/,
delete_event : function (self, event) {
},
text : "Tests",
title : "Please Confirm d",
- show_all : function() {
- this.show("test");
- }
- /*--
- void () {
- this.show("test");
- }
- */,
buttons : Gtk.ButtonsType.YES_NO,
message_type : Gtk.MessageType.QUESTION,
modal : true,
}
+ */,
+ show_all : function() {
+ this.show("test");
+ }
+ /*--
+ void () {
+ this.show("test");
+ }
*/,
use_markup : true
});
// this.success();
}
+
} );
this.el.delete_event.connect( (event) => {
this.el.hide();
// skip title - already used
// skip xtype - not pipe
- public void show_all() {
- this.show("test");
- }
// skip |buttons - already used
this.el.show_all();
}
+ public void show_all() {
+ this.show("test");
+ }
// skip |use_markup - already used