summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):hobbs2000-04-191-11/+8
| | | | | | | | | * library/tkfbox.tcl (::tk::dialog::file::Config): removed the extraneous glob on -initialdir after file isdir already returned 1 and moved cd trick into this case as the else already uses [pwd]. [Bug: 5181] * win/winMain.c: moved extern call out of WinMain func
* * library/menu.tcl (tkMenuInvoke): corrected naming of tearoffshobbs2000-03-311-7/+7
| | | | | | | | [Bug: 4506] * library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings.
* * library/tkfbox.tcl: Moved an overlooked tkFDialog* function inscriptics_sc_2_0_fixedscriptics_sc_2_0_b5ericm2000-03-291-5/+5
| | | | | | | | | | | | | | ::tk::dialog::file namespace. * tests/unixWm.test: Added tests for memory leak conditions in tkUnixWm.c. * tests/canvas.test: Added test for bad configuration options on empty and non-empty canvas. * generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of CanvasWidgetCmd; this was causing non-empty canvases to improperly handle bad configuration options [Bug: 4456].
* * tests/filebox.test:ericm2000-03-241-149/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/choosedir.test: Updated tests. * library/xmfbox.tcl: Updated to stash data array in ::tk::dialog::file namespace instead of in global namespace. * library/tkfbox.tcl: Extended some functions to support creation of a choosedir dialog, to allow greater code reuse between the two dialogs. Moved tkFDialog* functions into a namespace (::tk::dialog::file). Because these are private Tk functions (and should thus not be used directly by users), this should not impact anybody (the tk_getOpenFile and tk_getSaveFile commands still exist at the global scope). * library/tk.tcl: * library/tclIndex: Updated function names for tkFDialog* functions and choosedir functions. * library/choosedir.tcl: New and improved implementation of tk_chooseDirectory dialog. Based on tk_getOpenFile dialog. * library/listbox.tcl: (tkListboxCancel) Added a check for empty string value for tkPriv(listboxPrev). Without this check, it's possible to get a stack trace under certain conditions. [Bug: 4373].
* * library/tkfbox.tcl: Applied patch from bug #4117,ericm2000-02-071-2/+5
| | | | | | tk_getOpenFile/getSaveFile doesn't do the right thing when user types a directory name in the entry and a default extension is specified.
* * library/tkfbox.tcl: Fixed bug relating to incorrect parentericm2000-01-211-8/+8
| | | | | values for error message boxes displayed by the file dialog (bug #3616).
* * library/entry.tcl:hobbs2000-01-061-4/+4
| | | | | | | | | | | | * library/focus.tcl: * library/listbox.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: fixed unprotected arg parsing through eval/after [Bug: 3943]
* * library/tkfbox.tcl: updated tk_get*File to better match thehobbs1999-12-161-17/+14
| | | | | Windows file box it emulates, give proper support to -initialfile, and fixes lack of global tkPriv call. [Bug: 3735 3882]
* * library/clrpick.tcl:hobbs1999-11-241-47/+18
| | | | | | | | | * library/msgbox.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: fixed dialogs to center over -parent, added utility functions ::tk::PlaceWindow, ::tk::SetFocusGrab, ::tk::RestoreFocusGrab to tk.tcl to help
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-021-84/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | * library/msgbox.tcl: changed the behavior of tk_messageBox on Unix to be more Windows like in handling of <Return> and the default button * library/button.tcl: * library/clrpick.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/focus.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/safetk.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: updated commands to use [string] ops instead of expr equality operators
* * Merged 8.1 branch into the main trunkstanton1999-04-161-27/+42
|
* Removed lintwelch1998-11-121-2/+2
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* lintstanton1998-08-041-1/+0
|
* Merged changes between child workspace "/home/welch/ws/tk8.0.3" andwelch1998-06-271-112/+112
| | | | parent workspace "/ws/tk8.0".
* fixed reinitialization bugsstanton1998-06-251-5/+16
|
* fixed initialdir bugstanton1998-06-241-2/+9
|
* bug fix: 1) If the -initialdir option was "." the result would be ↵surles1998-06-031-5/+7
| | | | "././foo.tcl" instead of an absolute path, like the Windows interface. 2) There is a traceVar on the data(selectPath) where the script was assumes the window exists.
* Initial revisionrjohnson1998-04-011-0/+1437