},
XObject,
{
+ list : false, // list goes here,
pack : function(parent, item) {
- this.list = this.parent;
+
parent.el.append_column(this.el);
var n = 0;
var found = false;
parent.items.forEach(function(e){
-
+ if ([ 'Gtk.ListStore', 'Gtk.TreeStore', 'GtkTreeModelFilter' ].indexOf( XObject.type(e.xtype) ) > -1 ) {
+ _t.list = e;
+ return;
+ }
+
+
if (found) {
return true;
}
break;
case "GtkCellRendererToggle":
print("toggle col : " + col);
- this.el.add_attribute(this.items[0].el , 'active', col ); // boolean???
+ this.el. (this.items[0].el , 'active', col ); // boolean???
break;
}