Tk8.0 File Selector Suggestion 
Author Message
 Tk8.0 File Selector Suggestion

The Tk8.0 file selector has a fairly significant limitation.
There is no way for the user to filter only the files *(s)he* wants.
(You can only filter based on what the programmer decides you want!)

For example, I might design a nice interface that sources a Tcl script,
so I might do something like:

    set types {
        {"Tcl Scripts"       {.tcl}      TEXT}
        {"All files"        *}
    }
    set f [tk_getOpenFile -filetypes $types -title "Select Tcl Script"]
    if {$f != ""} {
        source $f
    }

However, if my user is looking for a file called barb1.txt, she cannot
filter on "barb*" or "*.txt". She only gets to use the filters that I
have predefined for her. To me, this is a serious usability "bug".

Regards,
Tom

--
Thomas J. Downey Jr.                    Partek Incorporated
voice: 314-926-2329                     1266-E Jungermann Rd.
fax:   314-441-6881                     St. Peters, MO 63376

web: http://www.*-*-*.com/ ~tjd         web: http://www.*-*-*.com/



Mon, 20 Mar 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Non-blocking file selector?

2. File Selector

3. Focus of graphic window, file selector box

4. Newbie question - file selector dialog box?

5. tkinter file selector?

6. Wanted : stdwin file selector dialog

7. windows file selector

8. File selector dialog?

9. Bug in file selector handling in Tcl/Tk for Windows

10. File selector

11. Lispview file selector wanted

12. has anyone got a simple text file selector and viewer

 

 
Powered by phpBB® Forum Software