Re: segfault when reattaching a tree model to a tree view
Jacques Garrigue <[email protected]> Wed, 15 Sep 2010 16:11:04 +0900
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Sep 15, 2010 at 1:41 PM, Peter Groves <[email protected]> wrote: > One more update: when I put the tree_view in a scrolled_window the > "wrong" way, where the column headers scroll away like everything > else, the problem also goes away. I do this by adding the tree_view to > the scrolled_window using scroller#add_with_viewport instead of > scroller#add. I was using #add_with_viewport. Here is a new version of tree_model.ml which does it right. Again, you must link it with gtkInit.cmo. For me it works correctly. Jacques _______________________________________________ Lablgtk mailing list [email protected] http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk
tree_model.ml
(application/octet-stream, 6.6 KB) - not displayed