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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to