XObjectBase/GtkListStore.js
[app.Builder.js] / XObjectBase / GtkListStore.js
index ba17c1b..22e4cc5 100644 (file)
@@ -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,
     {