Date: Fri, 11 May 2001 13:54:48 +0200 From: Benjamin Monate To: labgtk Subject: Accessing labels of GTree.tree_item Message-Id: <20010511135448.43d7e413.Benjamin.Monate at lri.fr> Organization: LRI Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Dear lablgtkers, I am a new gtk/lablgtk user and I do not understand how to read and change the labels of a GTree.tree_item element. Here is the code I try to write : let my_tree = GTree.tree ~show:true () ;; let t = GTree.tree_item ~label:"foo" ~packing:my_tree#add ~show:true () ;; Now I want to access to the string "foo" and change it to "bar". How can I do that ? By the way what are the reasons for GtkCTree not to be interfaced in lablgtk ? Thank you for your help. -- | Benjamin Monate | mailto:Benjamin.Monate@lri.fr | | LRI - Bât. 490 | http://www.lri.fr/~monate/ | | Université de Paris-Sud | phoneto: +33 1 69 15 42 32 | | F-91405 ORSAY Cedex | faxto: +33 1 69 15 65 86 |