I am trying to have a TreeList with check boxes in the TreeViewColumn If you don't know what I mean look at the gconf-editor and click around, you will see one.
Right now I have:
self.keyListModel = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING,
gobject.TYPE_BOOLEAN)
.....
self.keyListModel.set_value(iter,0,eachKey)
self.keyListModel.set_value(iter,1,self.keys.get(eachKey))
self.keyListModel.set_value(iter,2,False)
.....
self.col = gtk.TreeViewColumn("key id",gtk.CellRendererText(),text=0)
self.col1 = gtk.TreeViewColumn("name",gtk.CellRendererText(),text=1)
self.col2 = gtk.TreeViewColumn("allow",gtk.CellRendererText())
I have tried putting text=2 in the col2 gtkTreeViewColumn but that just
displays 'False' in the TreeView
Am I on the right track or way off base?
Does anyone know how to achieve this?
Thanks
--
Jay Graves
[EMAIL PROTECTED]
jay.skabber.com
O__
_/`.\
`=( '
pgp00000.pgp
Description: PGP signature
