To: lablgtk at kaba.or.jp From: Ethan Aubin Subject: tree view models written in ocaml Date: Sat, 19 Feb 2005 05:48:30 +0000 (UTC) Lines: 16 Message-ID: Sender: news Hi, I'm trying to figure out Tree Views but I'm running into some problems. I've a few objects/records written in ocaml I'd like to use as the model of the tree view, but I'm missing how to setup the column views, so that they pull and format (I can convert what I need into text) the right fields. Could someone post (or point me towards) an example of how to do this? E.g. Maybe take the tree view working example at http://compiler.kaist.ac.kr/~shoh/ocaml/lablgtk2/treeview-tutorial/ch05s06.html and use the types type gender = Male | Female type person = {name : string; gender : gender; age : int} instead of the 3 distinct columns? Any help is appreciated! - Ethan