src/Builder4/GladeView.bjs
authorAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:56:14 +0000 (16:56 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:56:14 +0000 (16:56 +0800)
src/Builder4/GladeView.vala

src/Builder4/GladeView.bjs
src/Builder4/GladeView.vala

index 8440020..94f02f3 100644 (file)
      "xtype" : "Box"
     }
    ],
+   "listeners" : {
+    "response" : [
+     "(response_id) => {",
+     "",
+     "",
+     "}",
+     ""
+    ]
+   },
    "xtype" : "Dialog"
   }
  ],
index 9ca88f2..8129c0e 100644 (file)
@@ -31,6 +31,12 @@ public class GladeView : Object
         var child_2 = new Xcls_Box4( _this );
         child_2.ref();
         this.el.get_content_area().add( child_2.el );
+
+        //listeners
+        this.el.response.connect( (response_id) => {
+        
+        
+        });
     }
 
     // user defined functions