in reply to Tk::ColumnView (part 2)

Well I'm sure you learned alot from writing this, but I still don't think it's working right. Maybe it is... but I don't know what it's supposed to do. I tested it by running it in a directory with some nested subdirs containing more subdirs and files. When I run the script, if I click on a subdir, a new pane opens listing the contained files and subdirs, but as soon as I release the mouse button everything dissappears! I assume it's supposed to let you keep clicking and recursing into the subdirs and files?

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Tk::ColumnView (part 2)
by Ace128 (Hermit) on May 05, 2006 at 16:51 UTC
    Yea, precisly! That is the idea! However, if you navigate with the arrow keys instead it should work much better - this is how it is supposed to work using the mouse aswell. You are supposed to have the content of the dir in the column to the right. Up/Down navigates in the dir. Left/Right is supposed to be "up"/"down" in the dir hierarchy. This is a little tricky since with the mouse you can click in _any_ column, while with the keys you kinda know where you are (internally in the code that is). That is, with the keys you step, while with the mouse you can jump... :)