src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 17 Mar 2024 03:30:32 +0000 (11:30 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 17 Mar 2024 03:30:32 +0000 (11:30 +0800)
src/Builder4/Editor.vala

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

index ebaacc3..70b7c90 100644 (file)
                "                    img, \"icon_name\",",
                "                   GLib.BindingFlags.SYNC_CREATE);",
                " \t",
+               " \tsym.bind_property(\"symbol_classes\",",
+               "                    hbox, \"classes\",",
+               "                   GLib.BindingFlags.SYNC_CREATE);",
+               " \t",
                " \tsym.bind_property(\"name\",",
                "                    lbl, \"label\",",
                "                   GLib.BindingFlags.SYNC_CREATE);",
                " \t// should be better?- --line no?",
-               " \tsym.bind_property(\"detail\",",
+               " \tsym.bind_property(\"tooltip\",",
                "                    lbl, \"tooltip_markup\",",
                "                   GLib.BindingFlags.SYNC_CREATE);",
                " \t// bind image...",
index 246a92a..8803f86 100644 (file)
@@ -1930,11 +1930,15 @@ public class Editor : Object
                                            img, "icon_name",
                                           GLib.BindingFlags.SYNC_CREATE);
                                
+                               sym.bind_property("symbol_classes",
+                                           hbox, "classes",
+                                          GLib.BindingFlags.SYNC_CREATE);
+                               
                                sym.bind_property("name",
                                            lbl, "label",
                                           GLib.BindingFlags.SYNC_CREATE);
                                // should be better?- --line no?
-                               sym.bind_property("detail",
+                               sym.bind_property("tooltip",
                                            lbl, "tooltip_markup",
                                           GLib.BindingFlags.SYNC_CREATE);
                                // bind image...