From c8398e727caa6601fb53900b5c6df0c634652a48 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 1 Dec 2010 21:17:23 +0800 Subject: [PATCH] XObjectBase/GtkListStore.js --- XObjectBase/GtkListStore.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/XObjectBase/GtkListStore.js b/XObjectBase/GtkListStore.js index ba17c1b36..22e4cc5a1 100644 --- 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, { -- 2.39.2