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()
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...
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);
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;
// my vars (def)
- // ctor
+ // ctor
public Xcls_ScrolledWindow2(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
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;
// my vars (def)
- // ctor
+ // ctor
public Xcls_view(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
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;
});
}
- // user defined functions
+ // user defined functions
}
- public class Xcls_model : Object
+ public class Xcls_model : Object
{
public Gtk.ListStore el;
private Xcls_WindowLeftProjects _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_model(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
// set gobject values
- // init method
+ // init method
{
this.el.set_sort_func(0, (mod,a,b) => {
}
}
- // user defined functions
+ // user defined functions
}
- public class Xcls_TreeViewColumn5 : Object
+
+ public class Xcls_TreeViewColumn5 : Object
{
public Gtk.TreeViewColumn el;
private Xcls_WindowLeftProjects _this;
// my vars (def)
- // ctor
+ // ctor
public Xcls_TreeViewColumn5(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
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;
// my vars (def)
- // ctor
+ // ctor
public Xcls_namecol(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
// set gobject values
}
- // user defined functions
+ // user defined functions
}
+
+
+
+
}