Date: Thu, 3 Mar 2005 23:42:55 +0000 Cc: lablgtk at kaba.or.jp Subject: Re: tree view models written in ocaml Message-ID: <20050303234255.GA25179 at furbychan.cocan.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: From: Richard Jones I too am having problems with GtkTreeView. I have quite a complex hierarchical model already. In particular each node in the model can contain a bunch of arbitrary extra data structures which I don't want to be displayed as columns. Is it better to write my own tree model? (And if so, where on earth do I start? I have no idea how to go about this.) Or is it better, as was suggested on one of the Gtk lists, to use a Gobject.Data.pointer or Gobject.Data.boxed to "hang" my extra structures on to a row, and just use the ordinary GtkTreeModel? (I'm not exactly sure how to do this one either ...) Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com