src/Builder4/WindowLeftTree.bjs
authorAlan <alan@roojs.com>
Thu, 25 Jan 2024 09:12:26 +0000 (17:12 +0800)
committerAlan <alan@roojs.com>
Thu, 25 Jan 2024 09:12:26 +0000 (17:12 +0800)
src/Builder4/WindowLeftTree.vala

src/Builder4/WindowLeftTree.bjs
src/Builder4/WindowLeftTree.vala

index 101c426..f040ae0 100644 (file)
         },
         {
          "$ xns" : "Gtk",
+         "int state" : 0,
          "listeners" : {
           "modifiers" : [
            "(state) => {",
index 3bbfaeb..6ae3e2d 100644 (file)
@@ -1713,6 +1713,7 @@ public class Xcls_WindowLeftTree : Object
 
 
                        // my vars (def)
+               public int state;
 
                // ctor
                public Xcls_EventControllerKey17(Xcls_WindowLeftTree _owner )
@@ -1721,6 +1722,7 @@ public class Xcls_WindowLeftTree : Object
                        this.el = new Gtk.EventControllerKey();
 
                        // my vars (dec)
+                       this.state = 0;
 
                        // set gobject values