Builder4/DialogConfirm.js
Builder4/DialogConfirm.vala
"path": "/home/alan/gitlive/app.Builder.js/Builder4/DialogConfirm.bjs",
"items": [
{
- "|void:show_all": "function() {\n this.show(\"test\");\n}\n/*--\nvoid () {\n this.show(\"test\");\n}\n*/",
+ "|void:show_all": "void () {\n this.show(\"test\");\n}\n ",
"listeners": {
"delete_event": " (event) => {\n this.el.hide();\n return true;\n}\n \n\n\n"
},
XObject = imports.XObject.XObject;
DialogConfirm=new XObject({
xtype: Gtk.MessageDialog,
- 'void:show_all' : function() {
+ 'void:show_all' : void () {
this.show("test");
- }
- /*--
- void () {
- this.show("test");
- }
- */,
+ },
listeners : {
delete_event : (event) => {
this.el.hide();
this.el.use_markup = true;
// listeners
- this.el.response.connect( ( response_id) => {
- this.el.hide();
- //print("RESPOSE: " + response_id);
- if (response_id == -8) => { //yes!
- print("CALL SUCCES?");
- // this.success();
- }
-
-
- }
- );
this.el.delete_event.connect( (event) => {
this.el.hide();
return true;
}
// userdefined functions
+ public void show_allvoid () {
+ this.show("test");
+ }
+
// skip listeners - not pipe
}
- public void show_allfunction() {
- this.show("test");
- }
- /*--
- void () {
- this.show("test");
- }
- */
// skip |use_markup - already used