"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*/",
"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": "Test",
+ "text": "Tests",
"title": "Please Confirm",
"xtype": "MessageDialog",
"|buttons": "Gtk.ButtonsType.YES_NO",
}
*/
},
- text : "Test",
+ text : "Tests",
title : "Please Confirm",
buttons : Gtk.ButtonsType.YES_NO,
message_type : Gtk.MessageType.QUESTION,
// ctor
public Xcls_MessageDialog1()
{
- this.el = new Gtk.MessageDialog( null, null, null, Gtk.ButtonsType.YES_NO, null );
+ this.el = new Gtk.MessageDialog( null, Gtk.DialogFlags.MODAL, Gtk.MessageType.QUESTION, Gtk.ButtonsType.YES_NO, null );
_this = this;
DialogConfirm = this;
this.el.buttons = Gtk.ButtonsType.YES_NO;
this.el.message_type = Gtk.MessageType.QUESTION;
this.el.modal = true;
- this.el.text = "Test";
+ this.el.text = "Tests";
this.el.title = "Please Confirm";
this.el.use_markup = true;