summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
Commit message (Collapse)AuthorAgeFilesLines
* TIP #359: Extended window manager hints support for X11.patthoyts2010-01-191-1/+2
| | | | | | | | | | | | | Modern unix window managers use a set of window properties to give hints as to the purpose of a toplevel window. They then use these hints to apply various animation and decoration options based on the type (dialog, menu, tooltip and more). This patch adds a [wm attributes $w -type] option to control and read the type hint and makes use of this for the ttk::combobox and the dialogs raised from the Tk library scripts. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* Deal with [Patch 2168768], so making the -typevariable option work consistentlydkf2009-10-221-6/+8
| | | | with global variables (the only way it *can* work...)
* Make filebox.test pass cleanly again.dkf2009-04-141-2/+2
|
* Fix [Bug 2759119] and apply [Patch 2739360] (partially).dkf2009-04-131-119/+164
|
* Factor out the IconList megawidget.dkf2009-02-121-788/+10
|
* Applied patch from [Bug 2473120] to fix the arguments to tk_messageBox call ↵patthoyts2009-01-071-2/+2
| | | | in the tk_chooseDirectory unix implementation.
* library/demos/*.tcl: Omit contraindicated [package require Ttk].jenglish2008-12-111-3/+1
| | | | | | Remove logic that switches [ttk::scrollbar]s to [tk::scrollbar]s based on [tk windowingsystem]; this is already handled in library/ttk/scrollbar.tcl.
* Bug tracker ID 1936220tmh2008-08-251-20/+7
| | | | This patch corrects the multiple selection error reported in this bug tracker.
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * library/tkfbox.tcl (VerifyFileName): Corrected a coupleKevin B Kenny2007-11-261-4/+5
| | | | | | | | of typos in handling of bad file names. [Bug #1822076] * tests/filebox.test (filebox-7.1, filebox-7.2): Added test cases that exercise the above bug. Thanks to Christoph Bauer (fridolin@users.sf.net) for the patch.
* Improve theming of Unix dialogsdkf2007-11-211-5/+8
|
* Updated with improved padding from Emilianodkf2007-11-021-3/+3
|
* GOOBE tweak; get background from themedkf2007-11-021-1/+3
|
* Bugfixdkf2007-11-021-2/+2
|
* Tk (non-native) file chooser now uses Ttk widgets for better L&F and ↵dkf2007-11-021-41/+144
| | | | supports <Tab> completion of file names. [FRQ 805091]
* * tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:hobbs2007-10-301-5/+4
| | | | | | | | | | | | | | | | * library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl: * library/msgbox.tcl, library/optMenu.tcl, library/tclIndex: * library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt: * library/demos/tcolor, library/demos/text.tcl: * library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look * library/ttk/fonts.tcl: Update of Tk default look in 8.5 * macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look * unix/tkUnixDefault.h: with minor modifications for Win32/Aqua. * win/tkWinDefault.h: Uses Tk*Font definitions throughout for * win/tkWinFont.c: classic widgets. [Bug #1820344] * library/obsolete.tcl (::tk::classic::restore): This restores changes made to defaults in 8.5 using the 'option' command, segmented into logical groups.
* * 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.