src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 12:07:18 +0000 (20:07 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 12:07:18 +0000 (20:07 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index 1ca3acd..b960966 100644 (file)
             }
            ],
            "xtype" : "NoSelection"
+          },
+          {
+           "$ xns" : "Gtk",
+           "listeners" : {
+            "pressed" : [
+             "(n_press, x, y) => {",
+             "",
+             "",
+             "}",
+             ""
+            ]
+           },
+           "xtype" : "GestureClick"
           }
          ],
          "string name" : "editor-navigation",
index f9167a0..0984939 100644 (file)
@@ -1776,6 +1776,9 @@ public class Editor : Object
                        var child_2 = new Xcls_ColumnViewColumn29( _this );
                        child_2.ref();
                        this.el.append_column( child_2.el );
+                       var child_3 = new Xcls_GestureClick252( _this );
+                       child_3.ref();
+                       this.el.add_controller(  child_3.el );
                }
 
                // user defined functions
@@ -1971,6 +1974,34 @@ public class Editor : Object
 
 
 
+       public class Xcls_GestureClick252 : Object
+       {
+               public Gtk.GestureClick el;
+               private Editor  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_GestureClick252(Editor _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.GestureClick();
+
+                       // my vars (dec)
+
+                       // set gobject values
+
+                       //listeners
+                       this.el.pressed.connect( (n_press, x, y) => {
+                       
+                       
+                       });
+               }
+
+               // user defined functions
+       }
+