resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / WindowRightPalete.vala
index c20a995..046771a 100644 (file)
@@ -1,8 +1,8 @@
 static Xcls_RightPalete  _RightPalete;
 
-public class Xcls_RightPalete : Object 
+public class Xcls_RightPalete : Object
 {
-    public Gtk.VBox el;
+    public Gtk.Box el;
     private Xcls_RightPalete  _this;
 
     public static Xcls_RightPalete singleton()
@@ -21,21 +21,21 @@ public class Xcls_RightPalete : Object
     public signal void before_node_change(JsRender.Node? node) ;
     public signal void drag_end() ;
 
-    // ctor 
+    // ctor
     public Xcls_RightPalete()
     {
         _this = this;
-        this.el = new Gtk.VBox( true, 0 );
+        this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
         // my vars (dec)
 
         // set gobject values
         var child_0 = new Xcls_viewbox( _this );
         child_0.ref();
-        this.el.add (  child_0.el  );
+        this.el.pack_start (  child_0.el , true,true,0 );
     }
 
-    // user defined functions 
+    // user defined functions
     public void load (Palete.Palete pal, string cls ) {
        
        // this.get('model').expanded();
@@ -58,32 +58,32 @@ public class Xcls_RightPalete : Object
     public void clear () {
        this.model.el.clear();
     }
-    public class Xcls_viewbox : Object 
+    public class Xcls_viewbox : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private Xcls_RightPalete  _this;
 
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_viewbox(Xcls_RightPalete _owner )
         {
             _this = _owner;
             _this.viewbox = this;
-            this.el = new Gtk.VBox( true, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)
 
             // set gobject values
             var child_0 = new Xcls_ScrolledWindow3( _this );
             child_0.ref();
-            this.el.add (  child_0.el  );
+            this.el.pack_start (  child_0.el , true,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_ScrolledWindow3 : Object 
+    public class Xcls_ScrolledWindow3 : Object
     {
         public Gtk.ScrolledWindow el;
         private Xcls_RightPalete  _this;
@@ -91,7 +91,7 @@ public class Xcls_RightPalete : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_ScrolledWindow3(Xcls_RightPalete _owner )
         {
             _this = _owner;
@@ -105,15 +105,15 @@ public class Xcls_RightPalete : Object
             child_0.ref();
             this.el.add (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
                this.el.set_size_request(-1,200);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_TreeView4 : Object 
+    public class Xcls_TreeView4 : Object
     {
         public Gtk.TreeView el;
         private Xcls_RightPalete  _this;
@@ -122,7 +122,7 @@ public class Xcls_RightPalete : Object
             // my vars (def)
         public string dragData;
 
-        // ctor 
+        // ctor
         public Xcls_TreeView4(Xcls_RightPalete _owner )
         {
             _this = _owner;
@@ -140,7 +140,7 @@ public class Xcls_RightPalete : Object
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
-            // init method 
+            // init method
 
             {
                 this.el.set_size_request(150,-1);
@@ -148,7 +148,7 @@ public class Xcls_RightPalete : Object
                                               
                 var description = new Pango.FontDescription();
                 description.set_size(8000);
-                this.el.modify_font(description);
+                this.el.override_font(description);
                 
                 var selection = this.el.get_selection();
                 selection.set_mode( Gtk.SelectionMode.SINGLE);
@@ -170,7 +170,7 @@ public class Xcls_RightPalete : Object
              
             }
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( ( event) => {
             
              //        if (!this.get('/Editor').save()) {
@@ -232,9 +232,9 @@ public class Xcls_RightPalete : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_model : Object 
+    public class Xcls_model : Object
     {
         public Gtk.ListStore el;
         private Xcls_RightPalete  _this;
@@ -242,7 +242,7 @@ public class Xcls_RightPalete : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_model(Xcls_RightPalete _owner )
         {
             _this = _owner;
@@ -254,7 +254,7 @@ public class Xcls_RightPalete : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public string getValue (Gtk.TreeIter iter, int col)  {
             GLib.Value gval;
              this.el.get_value(iter, col , out gval);
@@ -263,7 +263,8 @@ public class Xcls_RightPalete : Object
             
         }
     }
-    public class Xcls_TreeViewColumn6 : Object 
+
+    public class Xcls_TreeViewColumn6 : Object
     {
         public Gtk.TreeViewColumn el;
         private Xcls_RightPalete  _this;
@@ -271,7 +272,7 @@ public class Xcls_RightPalete : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn6(Xcls_RightPalete _owner )
         {
             _this = _owner;
@@ -280,18 +281,19 @@ public class Xcls_RightPalete : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.title = "Drag to add Object";
             var child_0 = new Xcls_txtrender( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , true );
 
-            // init method 
+            // init method
 
             this.el.add_attribute(_this.txtrender.el , "markup", 0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_txtrender : Object 
+    public class Xcls_txtrender : Object
     {
         public Gtk.CellRendererText el;
         private Xcls_RightPalete  _this;
@@ -299,7 +301,7 @@ public class Xcls_RightPalete : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_txtrender(Xcls_RightPalete _owner )
         {
             _this = _owner;
@@ -311,6 +313,11 @@ public class Xcls_RightPalete : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
+
+
+
+
+
 }