summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
Commit message (Collapse)AuthorAgeFilesLines
* bug #1451587: avoid using abbreviated sub-commands inpatthoyts2006-03-171-24/+24
| | | | | core scripts as this can cause problems with mega-widget libraries like snit.
* * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch ↵dgp2006-01-251-59/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | 1237759] * library/button.tcl: * library/choosedir.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/panedwindow.tcl: * library/safetk.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
* Fix [Bug 1335485]dkf2005-11-221-2/+2
|
* * library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref.hobbs2005-04-121-11/+41
| | | | | | | | Add undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that will add a "Show Hidden" checkbutton to tk_get*File and tk_chooseDirectory if set to true. * library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.
* More state resetting on dialog start. [Bug 845189]dkf2004-09-101-1/+3
|
* * library/tkfbox.tcl (::tk::dialog::file::Create): use labelhobbs2004-09-061-15/+3
| | | | | instead of button for "File of type", as it properly handles -state disabled now.
* * library/tkfbox.tcl (::tk::dialog::file::Update): use -directoryhobbs2004-07-221-8/+13
| | | | | [pwd] (instead of .) to get around some VFS edge case bugs. Use [bind $w], not [$w configure] to modify bindings.
* Users can cause Unix file dialog to vanish early; treat like Cancel [Bug 987169]dkf2004-07-111-1/+13
|
* (::tk::dialog::file::ActivateEnt): allow typing filename intohobbs2003-11-121-3/+10
| | | | entry when tk_getOpenFile -multiple 1 is specified. [Bug #788069]
* * library/tkfbox.tcl (::tk::dialog::file::Update): optimize thehobbs2003-11-111-35/+19
| | | | | | | dir/files list separation by using the -tails, -directory and -type option of 'glob'. Also passes the glob the -filetypes filters instead of calling string match over each file. [Patch #833819]
* * library/tkfbox.tcl (IconList_Create,IconList_Add): Added optiondkf2003-10-291-2/+8
| | | | | munging to allow some control of foreground colours on Unix in the same way that you can influence the background. [Bug 795717]
* Made the standard file dialogs use [grid] for their bottom area [Bug #673722]dkf2003-02-211-52/+33
|
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-07-221-8/+1
| | | | | | | | | | * library/clrpick.tcl (tk::dialog::file::chooseDir): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog): Revert [Tk patch 568278]. The transient window workaround is no longer needed since the fix for [Tk bug 570764] solved the problem for withdrawn transients.
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-131-1/+8
| | | | | | | | | | | * library/clrpick.tcl (tk::dialog::file::chooseDir): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog): Remove the transient property on dialogs after they have been dismissed to insulate them from further state changes in the master. This keeps a withdrawn dialog from being mapped when the master is deiconified. [Tk patch 568278]
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-121-2/+12
| | | | | | | | | | | | | * library/clrpick.tcl (tk::dialog::color): * library/dialog.tcl (tk_dialog): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog_Create): Only make the dialog window a transient if the master is visible. This check already appeared in some of the dialogs. This patch just copies the check into those that were lacking.
* Added "magic ampersand" approach for translated strings in standard dialogs.a_kovalenko2002-06-101-46/+41
| | | | | All translations were modified to work with "magic ampersand". Russian translations added.
* new feature, make dependence on msgcat soft, [539309]bagnonm2002-04-291-31/+33
|
* Added code to guess the correct default extension from whatever valuedkf2001-12-141-6/+27
| | | | | was selected in the filetypes option menu. Adapted from code by Chris Nelson submitted in Patch #492220.
* Fixed string/list confusion in directory browser, and a typo in ChangeLogdkf2001-09-171-12/+13
|
* Fix a problem in the Unix tk_getOpenFile dialog box. An error dialog box useddrh2001-09-121-1/+7
| | | | | to appear when you would point the file browser box at an empty directory and click on the canvas.
* Corrections to problems introduced bydgp2001-08-091-3/+2
| | | | the TIP 44 changes. [Bug 449261]
* Correction to TIP 44 implementation.dgp2001-08-011-3/+3
|
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-011-203/+201
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* The new tk_chooseDirectory dialog box implementation was sometimes givingdrh2001-07-191-1/+2
| | | | | an error like this: can't read "data(list)": no such element in array. The problem is a race condition. This patch should fix the problem.
* * library/tkfbox.tcl: fixed selecting directories and single fileshobbs2001-03-301-9/+15
| | | | with spaces using tk_getOpenFile -multiple 1. [Bug #411640]
* * library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365],ericm2000-10-191-4/+3
| | | | | which adds safety for directory names containing spaces or which are non-lists.
* * library/tkfbox.tcl (::tk::dialog::file::Update): Correctedericm2000-08-291-3/+6
| | | | | handling of multi-pattern filters (eg, "* *.*"), which was broken by the getOpenFile performance patches applied earlier.
* * library/tkfbox.tcl: Fixed keyboard navigation in the iconlist.ericm2000-07-191-37/+38
|
* * library/msgs/de.msg: German message catalog.ericm2000-06-301-35/+50
| | | | | | | | | | | | | | | | | | | | * library/msgs/en.msg: English message catalog. * library/msgs/es.msg: Spanish message catalog. * library/msgs/fr.msg: French message catalog. * unix/Makefile.in: * unix/configure.in: * library/tk.tcl: * library/clrpick.tcl: * library/choosedir.tcl: * library/console.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * library/bgerror.tcl: Applied patches from Laurent Duperval to provide localization of Tk dialogs. [RFE: 2671].
* * doc/getOpenFile.n: Updated with information about -multiple.ericm2000-06-231-147/+399
| | | | | | | | | | | * library/choosedir.tcl: Tweaked to handle modified tkIconList API's. * library/tkfbox.tcl: Preliminary implementation of multiple selection; based on patch from [RFE: 604]. Some of the tkIconList functions changed to support this and to make the dialog faster. * library/xmfbox.tcl: Added support for multiple selection, from patch in [RFE: 4999].
* * 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