id : "LeftTopPanel",
items : [
{
- //xtype: Gtk.Button,
- //events : [
- // Gdk.EventMask.BUTTON_MOTION_MASK
- //],
+ xtype: Gtk.Expander,
+ events : [
+ Gdk.EventMask.BUTTON_MOTION_MASK
+ ],
listeners : {
activate : function (self) {
}
return true;
- },
+ } /*,
enter_notify_event : function (self, event) {
return true;
this.el.expanded = !this.el.expanded;
return true;
}
+ */
},
id : "expander",
label : "Select Project or File",
Gdk.drag_status(ctx, 0, time);
return true;
}
- print(JSON.stringify(tg,null,4));
+ // print(JSON.stringify(tg,null,4));
//console.dump(tg);
this.targetData = tg;
s.get_selected( oret);
var node = this.nodeToJS(oret.iter,false);
//console.dump(node);
- print(JSON.stringify(node, null,4));
+ //print(JSON.stringify(node, null,4));
// needs to drop first, otherwise the target_data
// treepath will be invalid.
this.el.set_value(ret.iter, 5, type + ' : ' + str);
// update the tree...
- print("new data: " + JSON.stringify(this.toJS() , null,4));
+ //print("new data: " + JSON.stringify(this.toJS() , null,4));
this.get('/LeftTree.model').setFromNode(false,this.toJS());
this.get('/LeftTree.model').changed(doRefresh);
this.get('buttonbar').el.hide();
this.get('viewbox').el.show();
var ce = this.get('/Window.centereast').el;
- print(JSON.stringify(XObject.keys(ce) ,null,4));
+ //print(JSON.stringify(XObject.keys(ce) ,null,4));
ce.set_position(ce.get_allocated_width() - 150);
// this.get('model').expanded();