summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
Commit message (Collapse)AuthorAgeFilesLines
...
* | * doc/getOpenFile.n: TIP#242 implementation of -typevariable tohobbs2007-10-251-4/+27
| | | | | | | | | | | | | | | | | | * library/tkfbox.tcl: return type of selected file in file dialogs. * library/xmfbox.tcl: [Bug #1156388] * macosx/tkMacOSXDialog.c: * tests/filebox.test: * tests/winDialog.test: * win/tkWinDialog.c:
* | * library/tkfbox.tcl (::tk::IconList_Goto): avoid goto issues inhobbs2007-02-191-2/+2
| | | | | | | | empty dirs. [Bug 1662959]
* | catch scrollbar use of highlightthicknesshobbs2006-07-071-3/+3
| |
* | Fix [1467938]dkf2006-04-101-6/+10
| |
* | 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-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1237759] * library/choosedir.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/focus.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
* | Bits and pieces relating to [Bug 600313]dkf2005-11-221-18/+7
| |
* | Fix [Bug 1335485]dkf2005-11-221-27/+31
| |
* | Apply some of the changes suggested in [Patch 1237759]dkf2005-07-251-109/+113
| |
* | * library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref.hobbs2005-04-121-11/+42
| | | | | | | | | | | | | | | | 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 fixing of [Bug 600313]dkf2005-01-131-18/+24
| |
* | Partial fix of [Bug 600313]dkf2005-01-131-9/+13
| |
* | Make sure the state is correctly reset on dialog startup. [Bug 845189]dkf2004-09-101-1/+2
| |
* | * 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.
* | Don't add the default extension to env-var referencesdkf2004-08-111-2/+5
| |
* | More fixing of [Bug 987169] and simple support for [FRQ 979101]dkf2004-08-111-6/+21
| |
* | * library/tkfbox.tcl (::tk::dialog::file::Update): use -directoryhobbs2004-07-221-6/+7
| | | | | | | | | | | | [pwd] (instead of .) to get around some VFS edge case bugs. Correct args passes to tk_messageBox when failing to cd. Add -force back to namespace import of msgcat.
* | * library/tkfbox.tcl: Corrected coding errors in most recent change.dgp2004-07-151-3/+3
| | | | | | | | 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-3/+19
| |
* | (::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-34/+18
| | | | | | | | | | | | | | 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