- init : function() {
- XObject.prototype.init.call(this);
-
- this.el.set_column_types ( 2, [
- GObject.TYPE_STRING, // real key
- GObject.TYPE_STRING // real type
-
-
- ] );
-
- this.data = [
- { xtype: 'Roo', desc : "Roo Project" },
- { xtype: 'Gtk', desc : "Gtk Project" },
- //{ xtype: 'JS', desc : "Javascript Class" }
- ]
-
- this.loadData(this.data);
-
- },
- loadData : function (data) {
-
- var el = this.el;
- data.forEach(function(p) {
- var ret = {};
- el.append(ret);
-
-
- el.set_value(ret.iter, 0, p.xtype);
- el.set_value(ret.iter, 1, p.desc);