Sample/DialogConfirm.bjs
authorAlan Knowles <alan@akbkhome.com>
Tue, 25 May 2010 04:54:05 +0000 (12:54 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 25 May 2010 04:54:05 +0000 (12:54 +0800)
Sample/DialogConfirm.bjs

index bbf4863..e6d7bc5 100644 (file)
@@ -1 +1 @@
-{"id":"file-gtk-9","name":"DialogConfirm","parent":"","title":false,"path":"/home/alan/gitlive/app.Builder.js/Sample/DialogConfirm.bjs","items":[{"|xns":"Gtk","xtype":"MessageDialog","|show":"function(msg, success) {\n     if (!this.el) {\n            this.init();\n        }\n        this.el.text =  msg;\n        this.el.show_all();\n     this.success = success;\n}\n","|buttons":"Gtk.ButtonsType.YES_NO","title":"Please Confirm","|message_type":"Gtk.MessageType.QUESTION","|use_markup":true,"text":"-","listeners":{"destroy_event":"function (self, event) {\n    this.el.hide();\n    return true;\n}","response":"function (self, response_id) {\n    if (response_id > 0) {\n      this.success();\n    }\n}"}}]}
\ No newline at end of file
+{"id":"file-gtk-9","name":"DialogConfirm","parent":"","title":false,"path":"/home/alan/gitlive/app.Builder.js/Sample/DialogConfirm.bjs","items":[{"|xns":"Gtk","xtype":"MessageDialog","|show":"function(msg, success) {\n     if (!this.el) {\n            this.init();\n        }\n        this.el.text =  msg;\n        this.el.show_all();\n\n}\n","|buttons":"Gtk.ButtonsType.YES_NO","title":"Please Confirm","|message_type":"Gtk.MessageType.QUESTION","|use_markup":true,"text":"-","listeners":{"destroy_event":"function (self, event) {\n    this.el.hide();\n    return true;\n}","response":"function (self, response_id) {\n    if (response_id > 0) {\n      this.success();\n    }\n}"}}]}
\ No newline at end of file