Home > Archive > Tcl > July 2005 > File dialog
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| simonbachmann at bluewin dot ch 2005-07-31, 5:18 pm |
| Hi!
I'd need a file dialog with wich one can get files AND directories (i.e.
tk_getOpenFile and tk_cooseDirectory combined in a single dialog)
Does anybody knows where to find something like that? Dont tell me Tix!
I DO NOT like it!
tnx
| |
| Robert Heller 2005-07-31, 5:18 pm |
| "simonbachmann at bluewin dot ch",
In a message on Sun, 31 Jul 2005 16:18:49 +0200, wrote :
"abdc> Hi!
"abdc>
"abdc> I'd need a file dialog with wich one can get files AND directories (i.e.
"abdc> tk_getOpenFile and tk_cooseDirectory combined in a single dialog)
If you are using UNIX or Linux, the source code for both tk_getOpenFile
and tk_chooseDirectory are in /usr/lib/tk* (or /usr/local/lib/tk*,
depending on how things are installed):
tk_getOpenFile -- tkfbox.tcl
tk_chooseDirectory -- choosedir.tcl
You can copy these two files into one file and hack on it to produce
what you want. Whatever that it.
Under MacOS and MS-Windows, tk_getOpenFile and tk_chooseDirectory use
'native' dialog boxes, over which you have a somewhat limited control
over (at least from Tcl//Tk).
"abdc>
"abdc> Does anybody knows where to find something like that? Dont tell me Tix!
"abdc> I DO NOT like it!
What is wrong with Tix? Why don't you like it?
"abdc>
"abdc> tnx
"abdc>
"abdc>
"abdc>
\/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153
| |
| simonbachmann at bluewin dot ch 2005-07-31, 10:03 pm |
| >
> If you are using UNIX or Linux, the source code for both tk_getOpenFile
> and tk_chooseDirectory are in /usr/lib/tk* (or /usr/local/lib/tk*,
> depending on how things are installed):
>
> tk_getOpenFile -- tkfbox.tcl
> tk_chooseDirectory -- choosedir.tcl
>
> You can copy these two files into one file and hack on it to produce
> what you want. Whatever that it.
>
That's what I'm already doing -- but maybe somebody did it before....
> What is wrong with Tix? Why don't you like it?
The project seems not to be very active, some define it dying...
I submitted a bug report about a year ago, it's still without any
followup...
And then... I just don't like it very much, so if I can I avoid it.
|
|
|
|
|