[Haskell-cafe] gtk2hs treeview problem (Windows)
abemud at gmail.com
Mon Dec 17 14:02:36 EST 2007
I installed ghc 6.6.1 and 0.9.12.1. I'm trying to use the tree view widget.
To enable search in treeview, I added following 2 lines:
New.treeViewAppendColumn view col3
-- my addition
New.treeViewSetEnableSearch view True
New.treeViewSetSearchColumn view 0
The program crashes if I press any key. The console shows:
(TreeDemo.exe:3064): GLib-GObject-WARNING **: gtype.c:3339: type id `0' is inval
(TreeDemo.exe:3064): GLib-GObject-WARNING **: can't peek value table for type `<
invalid>' which is not currently referenced
I also tried ghc 6.8.1 with the same result. Any hints? Thanks.
More information about the Haskell-Cafe