Re: Directory/file browser as TreeView
- From: zentara <zentara1 sbcglobal net>
- To: "Ratcliffe, Jeffrey (Peters)" <Jeffrey Ratcliffe External eads com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Directory/file browser as TreeView
- Date: Fri, 29 Sep 2006 05:26:20 -0400
On Fri, 29 Sep 2006 08:06:25 +0200
"Ratcliffe, Jeffrey (Peters)" <Jeffrey Ratcliffe External eads com> wrote:
Hi again, this was as far as I got with my "dummy" insertion
method. It seems to work, but still suffers from some slow loading.
See below.
My dummy insertion attempt, run from /
Only it doesn't unless you change
&make_trunk('.');
to
&make_trunk('/');
Then it doesn't show the root /, just the subdirectories. And you can't expand them. But that is because the
root / gets lost somewhere.
Did you try it before posting, or am I missing something?
Jeff
Oops, I was testing it from /, so I didn't notice. I designed the script to
run from the pwd (maybe thats a mistake ?). Anyways, you can chdir.
Try this:
chdir('/');
&make_trunk('.');
Sorry,
zentara
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]