Re: File dialog
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: File dialog

From: Robert Heller <heller@deepsoft.com>
Date: Sun Jul 31 2005 - 17:19:47 CEST

  "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

                     
Received on Thu Sep 29 14:28:07 2005