2 //<Script type="Text/javascript">
4 XObject = imports.XObject.XObject
6 GObject = imports.gi.GObject;
8 // tree view column.. should really have a better way to determin stuff..
10 GtkTreeSelection = XObject.define(
13 // child only get's a listener...
14 XObject.call(this, cfg);
16 // you can not actually ctor this..
23 pack: function(parent, item)
25 // do nothing... init has already made 'el'
30 init : function(parent)
33 this.el = parent.el.get_selection();
35 parent.selection = this;
37 if (typeof(this.config.mode) == 'undefined') {
38 this.el.set_mode(this.config.mode );
46 /// make available configuration so builder know how to handle it..
49 GtkTreeSelection.config = {
51 type : 'Gtk.SelectionMode'