projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Builder4/config1.builder
[app.Builder.js]
/
src
/
Builder4
/
WindowLeftProjects.vala
diff --git
a/src/Builder4/WindowLeftProjects.vala
b/src/Builder4/WindowLeftProjects.vala
index
4c45eda
..
7d3e22c
100644
(file)
--- a/
src/Builder4/WindowLeftProjects.vala
+++ b/
src/Builder4/WindowLeftProjects.vala
@@
-1,8
+1,8
@@
static Xcls_WindowLeftProjects _WindowLeftProjects;
static Xcls_WindowLeftProjects _WindowLeftProjects;
-public class Xcls_WindowLeftProjects : Object
+public class Xcls_WindowLeftProjects : Object
{
{
- public Gtk.
V
Box el;
+ public Gtk.Box el;
private Xcls_WindowLeftProjects _this;
public static Xcls_WindowLeftProjects singleton()
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 ();
public bool is_loading;
public signal void show_new_project ();
- // ctor
+ // ctor
public Xcls_WindowLeftProjects()
{
_this = this;
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
// 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 );
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();
});
}
this.el.show.connect( ( ) => {
this.load();
});
}
- // user defined functions
+ // user defined functions
public void load () {
// clear list...
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 );
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);
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);
}
}
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;
{
public Gtk.ScrolledWindow el;
private Xcls_WindowLeftProjects _this;
@@
-124,7
+125,7
@@
public class Xcls_WindowLeftProjects : Object
// my vars (def)
// my vars (def)
- // ctor
+ // ctor
public Xcls_ScrolledWindow2(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
public Xcls_ScrolledWindow2(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
@@
-138,13
+139,14
@@
public class Xcls_WindowLeftProjects : Object
child_0.ref();
this.el.add ( child_0.el );
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_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;
{
public Gtk.TreeView el;
private Xcls_WindowLeftProjects _this;
@@
-152,7
+154,7
@@
public class Xcls_WindowLeftProjects : Object
// my vars (def)
// my vars (def)
- // ctor
+ // ctor
public Xcls_view(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
public Xcls_view(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
@@
-163,7
+165,7
@@
public class Xcls_WindowLeftProjects : Object
// set gobject values
this.el.enable_tree_lines = true;
// set gobject values
this.el.enable_tree_lines = true;
- this.el.headers_visible =
fals
e;
+ this.el.headers_visible =
tru
e;
var child_0 = new Xcls_model( _this );
child_0.ref();
this.el.set_model ( child_0.el );
var child_0 = new Xcls_model( _this );
child_0.ref();
this.el.set_model ( child_0.el );
@@
-171,15
+173,16
@@
public class Xcls_WindowLeftProjects : Object
child_1.ref();
this.el.append_column ( child_1.el );
child_1.ref();
this.el.append_column ( child_1.el );
- // init method
+ // init method
var description = new Pango.FontDescription();
description.set_size(8000);
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);
var selection = this.el.get_selection();
selection.set_mode( Gtk.SelectionMode.SINGLE);
- // listeners
+
+ //listeners
this.el.cursor_changed.connect( () => {
if (_this.is_loading) {
return;
this.el.cursor_changed.connect( () => {
if (_this.is_loading) {
return;
@@
-203,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;
{
public Gtk.ListStore el;
private Xcls_WindowLeftProjects _this;
@@
-213,7
+216,7
@@
public class Xcls_WindowLeftProjects : Object
// my vars (def)
// my vars (def)
- // ctor
+ // ctor
public Xcls_model(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
public Xcls_model(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
@@
-224,7
+227,7
@@
public class Xcls_WindowLeftProjects : Object
// set gobject values
// set gobject values
- // init method
+ // init method
{
this.el.set_sort_func(0, (mod,a,b) => {
{
this.el.set_sort_func(0, (mod,a,b) => {
@@
-239,11
+242,13
@@
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;
{
public Gtk.TreeViewColumn el;
private Xcls_WindowLeftProjects _this;
@@
-251,7
+256,7
@@
public class Xcls_WindowLeftProjects : Object
// my vars (def)
// my vars (def)
- // ctor
+ // ctor
public Xcls_TreeViewColumn5(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
public Xcls_TreeViewColumn5(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
@@
-260,17
+265,19
@@
public class Xcls_WindowLeftProjects : Object
// my vars (dec)
// set gobject values
// my vars (dec)
// set gobject values
+ this.el.title = "Projects";
var child_0 = new Xcls_namecol( _this );
child_0.ref();
this.el.pack_start ( child_0.el , true );
var child_0 = new Xcls_namecol( _this );
child_0.ref();
this.el.pack_start ( child_0.el , true );
- // init method
+ // init method
- this.el.add_attribute(_this.namecol.el , "markup", 0 ); }
+ 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;
{
public Gtk.CellRendererText el;
private Xcls_WindowLeftProjects _this;
@@
-278,7
+285,7
@@
public class Xcls_WindowLeftProjects : Object
// my vars (def)
// my vars (def)
- // ctor
+ // ctor
public Xcls_namecol(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
public Xcls_namecol(Xcls_WindowLeftProjects _owner )
{
_this = _owner;
@@
-290,6
+297,10
@@
public class Xcls_WindowLeftProjects : Object
// set gobject values
}
// set gobject values
}
- // user defined functions
+ // user defined functions
}
}
+
+
+
+
}
}