To: ogeri at free.fr Cc: lablgtk at kaba.or.jp Subject: Re: unselect a subtree In-Reply-To: <3F4B3D82.7050903 at free.fr> References: <3F4B3D82.7050903 at free.fr> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030827112856D.garrigue at kurims.kyoto-u.ac.jp> Date: Wed, 27 Aug 2003 11:28:56 +0900 From: Jacques Garrigue Lines: 25 From: isa oger > I have a Gtree with subtree. When a subtree is selected and that this > subtree become > unvisible (because I close its "father"), I would like that this subtree > become no > more selected (which is not the case). Can you help me, I have no > documentation > about lablgtk except the signature of the fonction given in Ocamlbrowser. OK, looking only with ocamlbrowser, it seems that you could cook something using: tree_item#connect#collapse on all subtrees tree#unselect_item on all children tree#children / treeitem#subtree to recurse on subtrees For a precise documentation of each method, you should look at Gtk's documentation. GtkTreeItem::collapse (signal) gtk_tree_unselect_item gtk_container_children gtk_tree_item_get_subtree Jacques