Content-Type: text/plain; charset="us-ascii" From: Stalkern 2 Reply-To: stalkern2 at tin.it To: lablgtk at kaba.or.jp Subject: Tree and Entry in a file viewer Date: Wed, 22 Jan 2003 13:33:27 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301221333.27831.stalkern2 at tin.it> 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