gtk2hs treeview problem (Windows)

17 Dec
2007
17 Dec
'07
2:02 p.m.
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 in demo/treeList/TreeDemo.hs The program crashes if I press any key. The console shows: C:\Gtk2Hs\demos\treeList>TreeDemo.exe (TreeDemo.exe:3064): GLib-GObject-WARNING **: gtype.c:3339: type id `0' is inval id (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. Jian
6369
Age (days ago)
6369
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jian Fan