projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ba5d7bd
)
XObjectBase/GtkListStore.js
author
Alan Knowles
<alan@akkbhome.com>
Wed, 1 Dec 2010 13:17:23 +0000
(21:17 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 1 Dec 2010 13:17:23 +0000
(21:17 +0800)
XObjectBase/GtkListStore.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GtkListStore.js
b/XObjectBase/GtkListStore.js
index
ba17c1b
..
22e4cc5
100644
(file)
--- a/
XObjectBase/GtkListStore.js
+++ b/
XObjectBase/GtkListStore.js
@@
-10,7
+10,16
@@
XObject = imports.XObject.XObject
GtkListStore = XObject.define(
function(cfg) {
XObject.call(this, cfg);
-
+ // this is an example...
+ this.el.set_column_types ( 6, [
+ GObject.TYPE_STRING, // real key
+ GObject.TYPE_STRING, // real type
+ GObject.TYPE_STRING, // docs ?
+ GObject.TYPE_STRING, // visable desc
+ GObject.TYPE_STRING, // function desc
+ GObject.TYPE_STRING // element type (event|prop)
+
+ ] );
},
XObject,
{