I did actually, I should have mentioned that. DirSelect is a top level window. it cant be packed onto another widget, as far as i know. But maybe I can adapt it to my needs. Considering that I'm planning on making a remote browser as well i'll probably have to roll my own in the end... | [reply] |
You can reparent toplevels into other toplevels or Frames using the -container and -use options to toplevels. See this thread for a little more info.
You would almost definately end up having to patch DirSelect to accept a widget as a container, but that should be very easy (and you can send the patch back to the author :-)
Basically, you would just create a frame or toplevel in your program, in which you set the -container option to true. Then you would have to make DirSelect's constructor accept a widget that it would pass to it's toplevel via -use. And that's it. Easy, yes? :-)
bbfu
Black flowers blossum
Fearless on my breath
Teardrop on the fire
Fearless on my breath
| [reply] [d/l] [select] |