tidy up add other property menu
authorAlan Knowles <alan@roojs.com>
Tue, 30 Jan 2024 11:46:42 +0000 (19:46 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Jan 2024 11:46:42 +0000 (19:46 +0800)
debian/changelog
src/Builder4/WindowLeftProps.bjs
src/Builder4/WindowLeftProps.vala
src/Palete/CompletionProvider.vala
src/Palete/Gtk.vala

index c1fa044..b577b8a 100644 (file)
@@ -10,6 +10,7 @@ roobuilder (5.0.2) UNRELEASED; urgency=medium
   * Errors now shown on widget tree / node properties / and node edit as selected
   * Error highlighting now on character location of errors, along with marks
   * roojspacker dependancy removed for now (too slow to work currently)
+  * add other property - use menubutton and tidy up pulldown so it looks like a menu.
   
  -- Alan Knowles <alan@touchbox>  Sun, 28 Jan 2024 06:54:56 +0800
 
index 90cd323..736d2df 100644 (file)
       },
       {
        "$ xns" : "Gtk",
-       "bool always_show_image" : true,
-       "bool hexpand" : true,
        "items" : [
         {
          "$ xns" : "Gtk",
-         "* pack" : false,
-         "bool autohide" : true,
-         "id" : "AddPropertyPopup",
+         "* prop" : "popover",
+         "id" : "addpop",
          "items" : [
           {
            "$ xns" : "Gtk",
            "items" : [
             {
              "$ xns" : "Gtk",
-             "label" : "id: _this.{ID} (Vala)",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "id: _this.{ID} (Vala)",
+               "string tooltip_text" : "Using _this.{ID} will map to this element",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                " ()  => {",
-               " \t_this.AddPropertyPopup.el.hide();",
+               " \t_this.addpop.el.hide();",
                " \t// is this userdef or special??",
                " \tvar add = new JsRender.NodeProp.prop(\"id\");",
                " \tif (_this.node.has_prop_key(add)) {",
                " \t",
                " \t_this.view.editProp( add );",
                " \t",
-               "\t",
                "}"
               ]
              },
-             "tooltip_markup" : "Using _this.{ID} will map to this element",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "pack: Pack method (Vala)",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "pack: Pack method (Vala)",
+               "string tooltip_text" : "how to pack this element onto parent, (method, 2nd arg, 3rd arg) .. the 1st argument is filled by the element",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) => {",
                " ",
                "",
-               "\t_this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                " \t// is this userdef or special??",
                " \tvar add = new JsRender.NodeProp.special(\"pack\", \"add\");",
                " \tif (_this.node.has_prop_key(add)) {",
                "}"
               ]
              },
-             "tooltip_markup" : "how to pack this element onto parent, (method, 2nd arg, 3rd arg) .. the 1st argument is filled by the element",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "ctor: Alterative to default contructor (Vala)",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "ctor: Alterative to default contructor (Vala)",
+               "string tooltip_text" : [
+                "eg. ",
+                "",
+                "new Clutter.Image.from_file(.....)"
+               ],
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) => {",
                "   ",
-               " _this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                " \t// is this userdef or special??",
                " \tvar add = new JsRender.NodeProp.special(\"ctor\");",
                " \tif (_this.node.has_prop_key(add)) {",
                "}"
               ]
              },
-             "tooltip_markup" : [
-              "eg. ",
-              "",
-              "new Clutter.Image.from_file(.....)"
-             ],
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "init: initialziation code (vala)",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "init: initialziation code (vala)",
+               "string tooltip_text" : "This code is called after the ctor",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) => {",
                "    ",
-               " _this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                " \t// is this userdef or special??",
                " \tvar add =  new JsRender.NodeProp.special(\"init\",\"{\\n\\n}\\n\" ) ;",
                " \tif (_this.node.has_prop_key(add)) {",
                "}"
               ]
              },
-             "tooltip_markup" : "This code is called after the ctor",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "cms-id: (Roo JS/Pman library)",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "cms-id: (Roo JS/Pman library)",
+               "string tooltip_text" : [
+                "set the cms-id for this element, when converted to javascript, the html value will be wrapped with Pman.Cms.content({cms-id},{original-html})",
+                ""
+               ],
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                " ()  => {",
-               "   ",
-               " _this.AddPropertyPopup.el.hide();",
+               "    \t_this.addpop.el.hide();",
+               " ",
                " \t// is this userdef or special??",
                " \tvar add =   new JsRender.NodeProp.prop(\"cms-id\",\"string\", \"\" ) ;",
                " \tif (_this.node.has_prop_key(add)) {",
                "}"
               ]
              },
-             "tooltip_markup" : [
-              "set the cms-id for this element, when converted to javascript, the html value will be wrapped with Pman.Cms.content({cms-id},{original-html})",
-              ""
-             ],
              "xtype" : "Button"
             },
             {
             },
             {
              "$ xns" : "Gtk",
-             "label" : "String",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "String",
+               "string tooltip_text" : "Add a user defined string property",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "(self) => {",
-               "     _this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                "\t_this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a user defined string property",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Number",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Number",
+               "string tooltip_text" : "Add a user defined number property",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
-               "      _this.AddPropertyPopup.el.hide();",
-               "      ",
+               " ",
+               "       \t_this.addpop.el.hide();",
                "       _this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a user defined number property",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Boolean",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Boolean",
+               "string tooltip_text" : "Add a user defined boolean property",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
                "  ",
-               "  \t     _this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                "   _this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a user defined boolean property",
              "xtype" : "Button"
             },
             {
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Javascript Function",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Javascript Function",
+               "string tooltip_text" : "Add a javascript  function",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
-               "  _this.AddPropertyPopup.el.hide(); ",
+               "  \t_this.addpop.el.hide();",
                "   _this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a user function boolean property",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Vala Method",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Vala Method",
+               "string tooltip_text" : "Add a user defined method to a object",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
-               "_this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                "    _this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a user function boolean property",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Vala Signal",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Vala Signal",
+               "string tooltip_text" : "Add a user defined signal to a object",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
-               "  _this.AddPropertyPopup.el.hide();",
+               " \t_this.addpop.el.hide(); ",
                "  _this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a vala signal",
              "xtype" : "Button"
             },
             {
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Flexy - If",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Flexy - If",
+               "string tooltip_text" : "Add a flexy if (for HTML templates)",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
-               " \t_this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                " \t_this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a flexy if (for HTML templates)",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Flexy - Include",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Flexy - Include",
+               "string tooltip_text" : "Add a flexy include (for HTML templates)",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
-               " \t_this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                " \t_this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
                "}"
               ]
              },
-             "tooltip_markup" : "Add a flexy include (for HTML templates)",
              "xtype" : "Button"
             },
             {
              "$ xns" : "Gtk",
-             "label" : "Flexy - Foreach",
+             "bool has_frame" : false,
+             "items" : [
+              {
+               "$ xns" : "Gtk",
+               "* prop" : "child",
+               "Gtk.Align halign" : "Gtk.Align.START",
+               "string label" : "Flexy - Foreach",
+               "string tooltip_text" : "Add a flexy foreach (for HTML templates)",
+               "xtype" : "Label"
+              }
+             ],
              "listeners" : {
               "clicked" : [
                "  ( ) =>{",
-               " \t_this.AddPropertyPopup.el.hide();",
+               "  \t_this.addpop.el.hide();",
                " \t_this.view.popover.show(",
                "\t\t_this.view.el, ",
                "\t\t_this.node, ",
          "xtype" : "Popover"
         }
        ],
-       "listeners" : {
-        "clicked" : [
-         "( ) => {",
-         "  //_this.before_edit();",
-         "  ",
-         "        ",
-         "    var p = _this.AddPropertyPopup;",
-         "    ",
-         " //\tGtk.Allocation rect;",
-         "\t//this.el.get_allocation(out rect);",
-         "\tif (p.el.parent == null) {",
-         "\t\t p.el.set_parent(this.el);",
-         "\t }",
-         "    //p.el.set_pointing_to(rect);",
-         "\tp.el.show();",
-         "\tp.el.set_position(Gtk.PositionType.BOTTOM);",
-         "\tp.el.autohide = true;",
-         "     return;",
-         "",
-         "}",
-         ""
-        ]
-       },
-       "string icon_name" : "list-add",
        "string label" : "Other",
-       "xtype" : "Button"
+       "xtype" : "MenuButton"
       }
      ],
      "xtype" : "Box"
index 8e1dc03..9966ec3 100644 (file)
@@ -12,7 +12,7 @@ public class Xcls_LeftProps : Object
                }
                return _LeftProps;
        }
-       public Xcls_AddPropertyPopup AddPropertyPopup;
+       public Xcls_addpop addpop;
        public Xcls_EditProps EditProps;
        public Xcls_view view;
        public Xcls_deletemenu deletemenu;
@@ -382,7 +382,7 @@ public class Xcls_LeftProps : Object
                        var child_3 = new Xcls_Button5( _this );
                        child_3.ref();
                        this.el.append( child_3.el );
-                       var child_4 = new Xcls_Button6( _this );
+                       var child_4 = new Xcls_MenuButton6( _this );
                        child_4.ref();
                        this.el.append( child_4.el );
                }
@@ -491,54 +491,31 @@ public class Xcls_LeftProps : Object
                // user defined functions
        }
 
-       public class Xcls_Button6 : Object
+       public class Xcls_MenuButton6 : Object
        {
-               public Gtk.Button el;
+               public Gtk.MenuButton el;
                private Xcls_LeftProps  _this;
 
 
                        // my vars (def)
-               public bool always_show_image;
 
                // ctor
-               public Xcls_Button6(Xcls_LeftProps _owner )
+               public Xcls_MenuButton6(Xcls_LeftProps _owner )
                {
                        _this = _owner;
-                       this.el = new Gtk.Button();
+                       this.el = new Gtk.MenuButton();
 
                        // my vars (dec)
-                       this.always_show_image = true;
 
                        // set gobject values
-                       this.el.icon_name = "list-add";
-                       this.el.hexpand = true;
                        this.el.label = "Other";
-                       new Xcls_AddPropertyPopup( _this );
-
-                       //listeners
-                       this.el.clicked.connect( ( ) => {
-                         //_this.before_edit();
-                         
-                               
-                           var p = _this.AddPropertyPopup;
-                           
-                        //     Gtk.Allocation rect;
-                               //this.el.get_allocation(out rect);
-                               if (p.el.parent == null) {
-                                        p.el.set_parent(this.el);
-                                }
-                           //p.el.set_pointing_to(rect);
-                               p.el.show();
-                               p.el.set_position(Gtk.PositionType.BOTTOM);
-                               p.el.autohide = true;
-                            return;
-                       
-                       });
+                       new Xcls_addpop( _this );
+                       this.el.popover = _this.addpop.el;
                }
 
                // user defined functions
        }
-       public class Xcls_AddPropertyPopup : Object
+       public class Xcls_addpop : Object
        {
                public Gtk.Popover el;
                private Xcls_LeftProps  _this;
@@ -547,16 +524,15 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_AddPropertyPopup(Xcls_LeftProps _owner )
+               public Xcls_addpop(Xcls_LeftProps _owner )
                {
                        _this = _owner;
-                       _this.AddPropertyPopup = this;
+                       _this.addpop = this;
                        this.el = new Gtk.Popover();
 
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.autohide = true;
                        var child_1 = new Xcls_Box8( _this );
                        this.el.child = child_1.el;
                }
@@ -583,52 +559,52 @@ public class Xcls_LeftProps : Object
                        var child_1 = new Xcls_Button9( _this );
                        child_1.ref();
                        this.el.append( child_1.el );
-                       var child_2 = new Xcls_Button10( _this );
+                       var child_2 = new Xcls_Button11( _this );
                        child_2.ref();
                        this.el.append( child_2.el );
-                       var child_3 = new Xcls_Button11( _this );
+                       var child_3 = new Xcls_Button13( _this );
                        child_3.ref();
                        this.el.append( child_3.el );
-                       var child_4 = new Xcls_Button12( _this );
+                       var child_4 = new Xcls_Button15( _this );
                        child_4.ref();
                        this.el.append( child_4.el );
-                       var child_5 = new Xcls_Button13( _this );
+                       var child_5 = new Xcls_Button17( _this );
                        child_5.ref();
                        this.el.append( child_5.el );
-                       var child_6 = new Xcls_Separator14( _this );
+                       var child_6 = new Xcls_Separator19( _this );
                        child_6.ref();
                        this.el.append( child_6.el );
-                       var child_7 = new Xcls_Button15( _this );
+                       var child_7 = new Xcls_Button20( _this );
                        child_7.ref();
                        this.el.append( child_7.el );
-                       var child_8 = new Xcls_Button16( _this );
+                       var child_8 = new Xcls_Button22( _this );
                        child_8.ref();
                        this.el.append( child_8.el );
-                       var child_9 = new Xcls_Button17( _this );
+                       var child_9 = new Xcls_Button24( _this );
                        child_9.ref();
                        this.el.append( child_9.el );
-                       var child_10 = new Xcls_Separator18( _this );
+                       var child_10 = new Xcls_Separator26( _this );
                        child_10.ref();
                        this.el.append( child_10.el );
-                       var child_11 = new Xcls_Button19( _this );
+                       var child_11 = new Xcls_Button27( _this );
                        child_11.ref();
                        this.el.append( child_11.el );
-                       var child_12 = new Xcls_Button20( _this );
+                       var child_12 = new Xcls_Button29( _this );
                        child_12.ref();
                        this.el.append( child_12.el );
-                       var child_13 = new Xcls_Button21( _this );
+                       var child_13 = new Xcls_Button31( _this );
                        child_13.ref();
                        this.el.append( child_13.el );
-                       var child_14 = new Xcls_Separator22( _this );
+                       var child_14 = new Xcls_Separator33( _this );
                        child_14.ref();
                        this.el.append( child_14.el );
-                       var child_15 = new Xcls_Button23( _this );
+                       var child_15 = new Xcls_Button34( _this );
                        child_15.ref();
                        this.el.append( child_15.el );
-                       var child_16 = new Xcls_Button24( _this );
+                       var child_16 = new Xcls_Button36( _this );
                        child_16.ref();
                        this.el.append( child_16.el );
-                       var child_17 = new Xcls_Button25( _this );
+                       var child_17 = new Xcls_Button38( _this );
                        child_17.ref();
                        this.el.append( child_17.el );
                }
@@ -652,12 +628,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Using _this.{ID} will map to this element";
-                       this.el.label = "id: _this.{ID} (Vala)";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label10( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ()  => {
-                               _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                // is this userdef or special??
                                var add = new JsRender.NodeProp.prop("id");
                                if (_this.node.has_prop_key(add)) {
@@ -668,14 +645,37 @@ public class Xcls_LeftProps : Object
                                
                                _this.view.editProp( add );
                                
-                               
                        });
                }
 
                // user defined functions
        }
+       public class Xcls_Label10 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
 
-       public class Xcls_Button10 : Object
+               // ctor
+               public Xcls_Label10(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "id: _this.{ID} (Vala)" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Using _this.{ID} will map to this element";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Button11 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -684,7 +684,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button10(Xcls_LeftProps _owner )
+               public Xcls_Button11(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -692,14 +692,15 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "how to pack this element onto parent, (method, 2nd arg, 3rd arg) .. the 1st argument is filled by the element";
-                       this.el.label = "pack: Pack method (Vala)";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label12( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) => {
                         
                        
-                               _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                // is this userdef or special??
                                var add = new JsRender.NodeProp.special("pack", "add");
                                if (_this.node.has_prop_key(add)) {
@@ -716,8 +717,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label12 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
 
-       public class Xcls_Button11 : Object
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label12(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "pack: Pack method (Vala)" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "how to pack this element onto parent, (method, 2nd arg, 3rd arg) .. the 1st argument is filled by the element";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Button13 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -726,7 +751,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button11(Xcls_LeftProps _owner )
+               public Xcls_Button13(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -734,13 +759,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "eg. \n\nnew Clutter.Image.from_file(.....)";
-                       this.el.label = "ctor: Alterative to default contructor (Vala)";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label14( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) => {
                           
-                        _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                // is this userdef or special??
                                var add = new JsRender.NodeProp.special("ctor");
                                if (_this.node.has_prop_key(add)) {
@@ -756,8 +782,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label14 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label14(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "ctor: Alterative to default contructor (Vala)" );
 
-       public class Xcls_Button12 : Object
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "eg. \n\nnew Clutter.Image.from_file(.....)";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Button15 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -766,7 +816,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button12(Xcls_LeftProps _owner )
+               public Xcls_Button15(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -774,13 +824,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "This code is called after the ctor";
-                       this.el.label = "init: initialziation code (vala)";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label16( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) => {
                            
-                        _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                // is this userdef or special??
                                var add =  new JsRender.NodeProp.special("init","{\n\n}\n" ) ;
                                if (_this.node.has_prop_key(add)) {
@@ -795,8 +846,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label16 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
 
-       public class Xcls_Button13 : Object
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label16(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "init: initialziation code (vala)" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "This code is called after the ctor";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Button17 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -805,7 +880,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button13(Xcls_LeftProps _owner )
+               public Xcls_Button17(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -813,13 +888,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "set the cms-id for this element, when converted to javascript, the html value will be wrapped with Pman.Cms.content({cms-id},{original-html})\n";
-                       this.el.label = "cms-id: (Roo JS/Pman library)";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label18( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ()  => {
-                          
-                        _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
+                        
                                // is this userdef or special??
                                var add =   new JsRender.NodeProp.prop("cms-id","string", "" ) ;
                                if (_this.node.has_prop_key(add)) {
@@ -835,8 +911,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label18 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
 
-       public class Xcls_Separator14 : Object
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label18(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "cms-id: (Roo JS/Pman library)" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "set the cms-id for this element, when converted to javascript, the html value will be wrapped with Pman.Cms.content({cms-id},{original-html})\n";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Separator19 : Object
        {
                public Gtk.Separator el;
                private Xcls_LeftProps  _this;
@@ -845,7 +945,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Separator14(Xcls_LeftProps _owner )
+               public Xcls_Separator19(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Separator( Gtk.Orientation.HORIZONTAL );
@@ -858,7 +958,7 @@ public class Xcls_LeftProps : Object
                // user defined functions
        }
 
-       public class Xcls_Button15 : Object
+       public class Xcls_Button20 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -867,7 +967,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button15(Xcls_LeftProps _owner )
+               public Xcls_Button20(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -875,12 +975,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a user defined string property";
-                       this.el.label = "String";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label21( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( (self) => {
-                            _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -894,8 +995,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label21 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label21(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "String" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a user defined string property";
+               }
+
+               // user defined functions
+       }
+
 
-       public class Xcls_Button16 : Object
+       public class Xcls_Button22 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -904,7 +1029,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button16(Xcls_LeftProps _owner )
+               public Xcls_Button22(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -912,13 +1037,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a user defined number property";
-                       this.el.label = "Number";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label23( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
-                             _this.AddPropertyPopup.el.hide();
-                             
+                        
+                               _this.addpop.el.hide();
                               _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -932,8 +1058,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label23 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
 
-       public class Xcls_Button17 : Object
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label23(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Number" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a user defined number property";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Button24 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -942,7 +1092,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button17(Xcls_LeftProps _owner )
+               public Xcls_Button24(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -950,13 +1100,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a user defined boolean property";
-                       this.el.label = "Boolean";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label25( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
                          
-                                    _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                           _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -970,8 +1121,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label25 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
 
-       public class Xcls_Separator18 : Object
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label25(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Boolean" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a user defined boolean property";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Separator26 : Object
        {
                public Gtk.Separator el;
                private Xcls_LeftProps  _this;
@@ -980,7 +1155,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Separator18(Xcls_LeftProps _owner )
+               public Xcls_Separator26(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Separator( Gtk.Orientation.HORIZONTAL );
@@ -993,7 +1168,7 @@ public class Xcls_LeftProps : Object
                // user defined functions
        }
 
-       public class Xcls_Button19 : Object
+       public class Xcls_Button27 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -1002,7 +1177,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button19(Xcls_LeftProps _owner )
+               public Xcls_Button27(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -1010,12 +1185,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a user function boolean property";
-                       this.el.label = "Javascript Function";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label28( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
-                         _this.AddPropertyPopup.el.hide(); 
+                               _this.addpop.el.hide();
                           _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -1030,8 +1206,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label28 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
 
-       public class Xcls_Button20 : Object
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label28(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Javascript Function" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a javascript  function";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Button29 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -1040,7 +1240,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button20(Xcls_LeftProps _owner )
+               public Xcls_Button29(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -1048,12 +1248,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a user function boolean property";
-                       this.el.label = "Vala Method";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label30( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
-                       _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                            _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -1066,8 +1267,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label30 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label30(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Vala Method" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a user defined method to a object";
+               }
+
+               // user defined functions
+       }
+
 
-       public class Xcls_Button21 : Object
+       public class Xcls_Button31 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -1076,7 +1301,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button21(Xcls_LeftProps _owner )
+               public Xcls_Button31(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -1084,12 +1309,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a vala signal";
-                       this.el.label = "Vala Signal";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label32( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
-                         _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide(); 
                          _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -1102,8 +1328,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label32 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label32(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Vala Signal" );
+
+                       // my vars (dec)
 
-       public class Xcls_Separator22 : Object
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a user defined signal to a object";
+               }
+
+               // user defined functions
+       }
+
+
+       public class Xcls_Separator33 : Object
        {
                public Gtk.Separator el;
                private Xcls_LeftProps  _this;
@@ -1112,7 +1362,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Separator22(Xcls_LeftProps _owner )
+               public Xcls_Separator33(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Separator( Gtk.Orientation.HORIZONTAL );
@@ -1125,7 +1375,7 @@ public class Xcls_LeftProps : Object
                // user defined functions
        }
 
-       public class Xcls_Button23 : Object
+       public class Xcls_Button34 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -1134,7 +1384,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button23(Xcls_LeftProps _owner )
+               public Xcls_Button34(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -1142,12 +1392,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a flexy if (for HTML templates)";
-                       this.el.label = "Flexy - If";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label35( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
-                               _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -1162,8 +1413,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label35 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label35(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Flexy - If" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a flexy if (for HTML templates)";
+               }
+
+               // user defined functions
+       }
 
-       public class Xcls_Button24 : Object
+
+       public class Xcls_Button36 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -1172,7 +1447,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button24(Xcls_LeftProps _owner )
+               public Xcls_Button36(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -1180,12 +1455,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.tooltip_markup = "Add a flexy include (for HTML templates)";
-                       this.el.label = "Flexy - Include";
+                       this.el.has_frame = false;
+                       var child_1 = new Xcls_Label37( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
-                               _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -1200,8 +1476,32 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label37 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label37(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Flexy - Include" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a flexy include (for HTML templates)";
+               }
+
+               // user defined functions
+       }
+
 
-       public class Xcls_Button25 : Object
+       public class Xcls_Button38 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -1210,7 +1510,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button25(Xcls_LeftProps _owner )
+               public Xcls_Button38(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -1218,12 +1518,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
+                       this.el.has_frame = false;
                        this.el.tooltip_markup = "Add a flexy include (for HTML templates)";
-                       this.el.label = "Flexy - Foreach";
+                       var child_1 = new Xcls_Label39( _this );
+                       this.el.child = child_1.el;
 
                        //listeners
                        this.el.clicked.connect( ( ) =>{
-                               _this.AddPropertyPopup.el.hide();
+                               _this.addpop.el.hide();
                                _this.view.popover.show(
                                        _this.view.el, 
                                        _this.node, 
@@ -1237,6 +1539,30 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
+       public class Xcls_Label39 : Object
+       {
+               public Gtk.Label el;
+               private Xcls_LeftProps  _this;
+
+
+                       // my vars (def)
+
+               // ctor
+               public Xcls_Label39(Xcls_LeftProps _owner )
+               {
+                       _this = _owner;
+                       this.el = new Gtk.Label( "Flexy - Foreach" );
+
+                       // my vars (dec)
+
+                       // set gobject values
+                       this.el.halign = Gtk.Align.START;
+                       this.el.tooltip_text = "Add a flexy foreach (for HTML templates)";
+               }
+
+               // user defined functions
+       }
+
 
 
 
@@ -1305,10 +1631,10 @@ public class Xcls_LeftProps : Object
                        this.el.vexpand = true;
                        this.el.show_row_separators = true;
                        new Xcls_deletemenu( _this );
-                       var child_3 = new Xcls_GestureClick31( _this );
+                       var child_3 = new Xcls_GestureClick45( _this );
                        child_3.ref();
                        this.el.add_controller(  child_3.el );
-                       var child_4 = new Xcls_GestureClick32( _this );
+                       var child_4 = new Xcls_GestureClick46( _this );
                        child_4.ref();
                        this.el.add_controller(  child_4.el );
                        new Xcls_keycol( _this );
@@ -1596,13 +1922,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       var child_1 = new Xcls_Box29( _this );
+                       var child_1 = new Xcls_Box43( _this );
                        this.el.child = child_1.el;
                }
 
                // user defined functions
        }
-       public class Xcls_Box29 : Object
+       public class Xcls_Box43 : Object
        {
                public Gtk.Box el;
                private Xcls_LeftProps  _this;
@@ -1611,7 +1937,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Box29(Xcls_LeftProps _owner )
+               public Xcls_Box43(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
@@ -1619,14 +1945,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       var child_1 = new Xcls_Button30( _this );
+                       var child_1 = new Xcls_Button44( _this );
                        child_1.ref();
                        this.el.append( child_1.el );
                }
 
                // user defined functions
        }
-       public class Xcls_Button30 : Object
+       public class Xcls_Button44 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -1635,7 +1961,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button30(Xcls_LeftProps _owner )
+               public Xcls_Button44(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
@@ -1661,7 +1987,7 @@ public class Xcls_LeftProps : Object
 
 
 
-       public class Xcls_GestureClick31 : Object
+       public class Xcls_GestureClick45 : Object
        {
                public Gtk.GestureClick el;
                private Xcls_LeftProps  _this;
@@ -1670,7 +1996,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_GestureClick31(Xcls_LeftProps _owner )
+               public Xcls_GestureClick45(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.GestureClick();
@@ -1718,7 +2044,7 @@ public class Xcls_LeftProps : Object
                // user defined functions
        }
 
-       public class Xcls_GestureClick32 : Object
+       public class Xcls_GestureClick46 : Object
        {
                public Gtk.GestureClick el;
                private Xcls_LeftProps  _this;
@@ -1727,7 +2053,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_GestureClick32(Xcls_LeftProps _owner )
+               public Xcls_GestureClick46(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.GestureClick();
@@ -1870,7 +2196,7 @@ public class Xcls_LeftProps : Object
                {
                        _this = _owner;
                        _this.keycol = this;
-                       var child_1 = new Xcls_SignalListItemFactory36( _this );
+                       var child_1 = new Xcls_SignalListItemFactory50( _this );
                        child_1.ref();
                        this.el = new Gtk.ColumnViewColumn( "Property", child_1.el );
 
@@ -1884,7 +2210,7 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
-       public class Xcls_SignalListItemFactory36 : Object
+       public class Xcls_SignalListItemFactory50 : Object
        {
                public Gtk.SignalListItemFactory el;
                private Xcls_LeftProps  _this;
@@ -1893,7 +2219,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_SignalListItemFactory36(Xcls_LeftProps _owner )
+               public Xcls_SignalListItemFactory50(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.SignalListItemFactory();
@@ -1955,7 +2281,7 @@ public class Xcls_LeftProps : Object
                {
                        _this = _owner;
                        _this.valcol = this;
-                       var child_1 = new Xcls_SignalListItemFactory38( _this );
+                       var child_1 = new Xcls_SignalListItemFactory52( _this );
                        child_1.ref();
                        this.el = new Gtk.ColumnViewColumn( "Value", child_1.el );
 
@@ -1969,7 +2295,7 @@ public class Xcls_LeftProps : Object
 
                // user defined functions
        }
-       public class Xcls_SignalListItemFactory38 : Object
+       public class Xcls_SignalListItemFactory52 : Object
        {
                public Gtk.SignalListItemFactory el;
                private Xcls_LeftProps  _this;
@@ -1979,7 +2305,7 @@ public class Xcls_LeftProps : Object
                public bool is_setting;
 
                // ctor
-               public Xcls_SignalListItemFactory38(Xcls_LeftProps _owner )
+               public Xcls_SignalListItemFactory52(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.SignalListItemFactory();
@@ -2187,13 +2513,13 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       var child_1 = new Xcls_Box40( _this );
+                       var child_1 = new Xcls_Box54( _this );
                        this.el.child = child_1.el;
                }
 
                // user defined functions
        }
-       public class Xcls_Box40 : Object
+       public class Xcls_Box54 : Object
        {
                public Gtk.Box el;
                private Xcls_LeftProps  _this;
@@ -2202,7 +2528,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Box40(Xcls_LeftProps _owner )
+               public Xcls_Box54(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
@@ -2210,14 +2536,14 @@ public class Xcls_LeftProps : Object
                        // my vars (dec)
 
                        // set gobject values
-                       var child_1 = new Xcls_Button41( _this );
+                       var child_1 = new Xcls_Button55( _this );
                        child_1.ref();
                        this.el.append( child_1.el );
                }
 
                // user defined functions
        }
-       public class Xcls_Button41 : Object
+       public class Xcls_Button55 : Object
        {
                public Gtk.Button el;
                private Xcls_LeftProps  _this;
@@ -2226,7 +2552,7 @@ public class Xcls_LeftProps : Object
                        // my vars (def)
 
                // ctor
-               public Xcls_Button41(Xcls_LeftProps _owner )
+               public Xcls_Button55(Xcls_LeftProps _owner )
                {
                        _this = _owner;
                        this.el = new Gtk.Button();
index 5d8a29c..cf2ff46 100644 (file)
@@ -6,7 +6,6 @@ namespace Palete {
 
     public class CompletionProvider : Object, GtkSource.CompletionProvider
     {
-
                public JsRender.JsRender file {
                        get { return this.editor.file; }
                        private set {}
index f880ebd..257b658 100644 (file)
@@ -693,6 +693,13 @@ namespace Palete {
                        // skip dupe // skip depricated
                        // skip not object // skip GLib.Object (base)
                        
+                       
+                       //if (cls.fqn() == "GLib.Menu" && method == "append_submenu") {
+                       //      ty = m.paramset.params.get(1).type;
+                       //      GLib.debug("add  %s   method %s arg1 = %s", cls.fqn(), method, ty);
+                       //      this.addRealClasses(ret, ty);
+                       //}
+                        
                }
                
                void addRealClasses(Gee.ArrayList<string>  ret, string cn, bool allow_root = false)
@@ -789,7 +796,8 @@ namespace Palete {
                this.add_classes_from_method(cls, "add_tick_callback", ret); // wtf does this do.
                this.add_classes_from_method(cls, "append", ret);
                this.add_classes_from_method(cls, "append_column", ret); // columnview column
-               this.add_classes_from_method(cls, "append_item", ret); // GLib.Menu
+               this.add_classes_from_method(cls, "append_item", ret); // GLib.Menu 
+               //this.add_classes_from_method(cls, "append_submenu", ret); // GLib.Menu - complicated to support
                this.add_classes_from_method(cls, "attach", ret); // grid column                
                this.add_classes_from_method(cls, "pack_start", ret); // headerbar (also has pack end?)