src/Builder4/Editor.bjs
[roobuilder] / src / Builder4 / Editor.vala
index 21d4908..7022583 100644 (file)
@@ -549,6 +549,9 @@ public class Editor : Object
                        this.el.justify = Gtk.Justification.LEFT;
                        this.el.hexpand = true;
                        this.el.xalign = 0f;
+                       var child_1 = new Xcls_GestureClick61( _this );
+                       child_1.ref();
+                       this.el.add_controller(  child_1.el );
 
                        //listeners
                        this.el.query_tooltip.connect( (x, y, keyboard_tooltip, tooltip) => {
@@ -604,6 +607,34 @@ public class Editor : Object
                        
                }
        }
+       public class Xcls_GestureClick61 : Object
+       {
+               public Gtk.GestureClick el;
+               private Editor  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_GestureClick61(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
+       }
+
 
        public class Xcls_Scale6 : Object
        {