src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 16:21:14 +0000 (00:21 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 16:21:14 +0000 (00:21 +0800)
src/Builder4/Editor.vala

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

index f56913c..0227eba 100644 (file)
@@ -71,6 +71,7 @@
            "listeners" : {
             "query_tooltip" : [
              "(x, y, keyboard_tooltip, tooltip) => {",
+             "\tGLib.debug(\"using quiery tooltip?\");",
              "\tvar lbl = new Gtk.Label(this.el.tooltip_markup);",
              "\tlbl.width_request = 700;",
              "\ttooltip.set_custom(lbl);",
index c6455ab..5a15f6f 100644 (file)
@@ -552,6 +552,7 @@ public class Editor : Object
 
                        //listeners
                        this.el.query_tooltip.connect( (x, y, keyboard_tooltip, tooltip) => {
+                               GLib.debug("using quiery tooltip?");
                                var lbl = new Gtk.Label(this.el.tooltip_markup);
                                lbl.width_request = 700;
                                tooltip.set_custom(lbl);