resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / WindowLeftProjects.vala
index b9f3a4b..7d3e22c 100644 (file)
@@ -1,8 +1,8 @@
 static Xcls_WindowLeftProjects  _WindowLeftProjects;
 
-public class Xcls_WindowLeftProjects : Object 
+public class Xcls_WindowLeftProjects : Object
 {
-    public Gtk.VBox el;
+    public Gtk.Box el;
     private Xcls_WindowLeftProjects  _this;
 
     public static Xcls_WindowLeftProjects singleton()
@@ -22,28 +22,29 @@ public class Xcls_WindowLeftProjects : Object
     public bool is_loading;
     public signal void show_new_project ();
 
-    // ctor 
+    // ctor
     public Xcls_WindowLeftProjects()
     {
         _this = this;
-        this.el = new Gtk.VBox( false, 0 );
+        this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
         // my vars (dec)
         this.is_loaded = false;
         this.is_loading = false;
 
         // set gobject values
+        this.el.homogeneous = false;
         var child_0 = new Xcls_ScrolledWindow2( _this );
         child_0.ref();
         this.el.pack_end (  child_0.el , true,true,0 );
 
-        // listeners 
+        //listeners
         this.el.show.connect( ( ) => {
             this.load();
         });
     }
 
-    // user defined functions 
+    // user defined functions
     public  void load () {
          // clear list...
         
@@ -65,7 +66,7 @@ public class Xcls_WindowLeftProjects : Object
             m.append(out iter);
             m.set(iter,   0,projects.get(i).name );
             
-            var o = new GLib.Value(typeof(Object));
+            var o =  GLib.Value(typeof(Object));
             o.set_object((Object)projects.get(i));
                        
             m.set_value(iter, 1, o);
@@ -116,7 +117,7 @@ public class Xcls_WindowLeftProjects : Object
            print("tried to select %s, could not find it", project.name);
         }
     }
-    public class Xcls_ScrolledWindow2 : Object 
+    public class Xcls_ScrolledWindow2 : Object
     {
         public Gtk.ScrolledWindow el;
         private Xcls_WindowLeftProjects  _this;
@@ -124,7 +125,7 @@ public class Xcls_WindowLeftProjects : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_ScrolledWindow2(Xcls_WindowLeftProjects _owner )
         {
             _this = _owner;
@@ -138,14 +139,14 @@ public class Xcls_WindowLeftProjects : Object
             child_0.ref();
             this.el.add (  child_0.el  );
 
-            // init method 
+            // init method
 
             this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_view : Object 
+    public class Xcls_view : Object
     {
         public Gtk.TreeView el;
         private Xcls_WindowLeftProjects  _this;
@@ -153,7 +154,7 @@ public class Xcls_WindowLeftProjects : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_view(Xcls_WindowLeftProjects _owner )
         {
             _this = _owner;
@@ -172,16 +173,16 @@ public class Xcls_WindowLeftProjects : Object
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
-            // init method 
+            // init method
 
             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);
 
-            // listeners 
+            //listeners
             this.el.cursor_changed.connect( () => {
                 if (_this.is_loading) {
                     return;
@@ -205,9 +206,9 @@ public class Xcls_WindowLeftProjects : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_model : Object 
+    public class Xcls_model : Object
     {
         public Gtk.ListStore el;
         private Xcls_WindowLeftProjects  _this;
@@ -215,7 +216,7 @@ public class Xcls_WindowLeftProjects : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_model(Xcls_WindowLeftProjects _owner )
         {
             _this = _owner;
@@ -226,7 +227,7 @@ public class Xcls_WindowLeftProjects : Object
 
             // set gobject values
 
-            // init method 
+            // init method
 
             {
                this.el.set_sort_func(0, (mod,a,b) => {
@@ -244,9 +245,10 @@ public class Xcls_WindowLeftProjects : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_TreeViewColumn5 : Object 
+
+    public class Xcls_TreeViewColumn5 : Object
     {
         public Gtk.TreeViewColumn el;
         private Xcls_WindowLeftProjects  _this;
@@ -254,7 +256,7 @@ public class Xcls_WindowLeftProjects : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn5(Xcls_WindowLeftProjects _owner )
         {
             _this = _owner;
@@ -268,14 +270,14 @@ public class Xcls_WindowLeftProjects : Object
             child_0.ref();
             this.el.pack_start (  child_0.el , true );
 
-            // init method 
+            // init method
 
             this.el.add_attribute(_this.namecol.el , "markup", 0  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_namecol : Object 
+    public class Xcls_namecol : Object
     {
         public Gtk.CellRendererText el;
         private Xcls_WindowLeftProjects  _this;
@@ -283,7 +285,7 @@ public class Xcls_WindowLeftProjects : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_namecol(Xcls_WindowLeftProjects _owner )
         {
             _this = _owner;
@@ -295,6 +297,10 @@ public class Xcls_WindowLeftProjects : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
+
+
+
+
 }