Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Px4q03daia15dmyNZ2oPdCU8KefEzrkmlelADFCZK12Mz2XNvSNevcbnZL4swYfqZvvXUCzPrDS+2Y9dD6DVTwjJGdl9RJIeVsPRlaEDTaiSlP27MEonDE4QaNc9FnEJijI7WM5B+vGwSEx9d10zwaAWgmOupLcoNy8BdaWfOtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E85ATF8gAmtEc0yJsdAJobpPwwYhhWv3cUpTWstW7erQRsIM9yD7AEV4zVtqXjf5gOYq1Bad6v9CcMF0qkmAj/TZszZniv5ndW044OnJydEJBGxvfBkrsTyG2uD/6NuD/qch+MegpQx99BP5gXOnuf//sobaqNBQpxK/ebW3pA4= Message-ID: Date: Sun, 5 Aug 2007 21:54:29 -0400 From: "Robert Schneck" To: lablgtk at yquem.inria.fr MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Lablgtk] contribution: custom tree models for LablGTK Content-Type: text/plain; charset=ISO-8859-1 Content-Length: 819 I have developed some code to make it relatively easy to develop custom tree models using LablGTK. This means that you can have a tree structure coded naturally in OCaml and treat it more or less directly as a tree model, instead of having to shove values into a GTree.tree_store. There are some caveats as described in the README file. I also include a full working example based on the example in Tim-Philipp Mueller's GTK+ 2.0 Tree View Tutorial (which was written for C). This code is distributed under the terms of GNU General Public License. Download at http://www.twinoaks.org/members-exmembers/members/tupelo-schneck/robert/custom-model/ All the best, Robert _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk