Content-Type: text/plain; charset="iso-8859-1" From: Stalkern 2 Reply-To: stalkern2 at tin.it To: lablgtk at kaba.or.jp Subject: Re: Tree and Entry in a file viewer Date: Wed, 22 Jan 2003 13:39:41 +0100 References: <200301221333.27831.stalkern2 at tin.it> In-Reply-To: <200301221333.27831.stalkern2 at tin.it> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301221339.41315.stalkern2 at tin.it> OK, Maxence Guesdon was so kind to give a hint to me. Thank you very much, Maxence. I'll let you know. Ernesto Il Wednesday 22 January 2003 13:33, Stalkern 2 ha scritto: > Just a question: > am I right saying that a tree can *not* help in selecting filenames but > just in viewing a tree structure like a filesystem, so if I want to select > files "using a tree" I must write separate code for showing the filesystem > and for getting the last entry? > > I can't understand how would I synchronise the Entry and the selected > Tree_item of the Tree. > I planned to create a Tree representing the filesystem structure, with a > callback expanding the selected node as in the gtk-perl example at > http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/tree.html#AEN3840 > , then get the label of the selected Tree_item and place it after the label > of its parents, building the path to the filename piece by piece, but I > can't find how to get that label. > > TIA > Ernesto