summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * library/entry.tcl: [Bug 2971663]: Make the <Up> and <Down> keysdkf2010-03-172-2/+8
| | | | | | * library/ttk/entry.tcl: explicitly do nothing, since Tk-on-Cocoa will generate (invisible zero-width) characters for them otherwise. The explicitly empty bindings are harmless on other platforms.
* Factor out some of the megawidget machinery.dkf2010-03-123-67/+173
|
* [Bug 2949774]: cascade menus should popdown ofter loosing the pointer.patthoyts2010-03-061-6/+13
| | | | | | | When the pointer moves to another entry from a cascade entry the sub-menu should popdown. This is how other menus on X11 work today. This effect will not be used if the user has configured ClickToFocus to maintain the previous Tk menu effects.
* TIP #359: Extended window manager hints support for X11.patthoyts2010-01-197-9/+19
| | | | | | | | | | | | | 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>
* TIP 360: Remove special handling of .help menu on X11.patthoyts2010-01-091-1/+2
| | | | | | | | | | | | Tk is the only toolkit to continue the Motif scheme of anchoring a Help menu to the extreme right of the menubar. This patch disables the special handling of the .help menu so that the help menu will be grouped with the other menu items as is common with other toolkits. The old behaviour can be restored by setting the option *Menu.useMotifHelp to true or by calling 'tk::classic::restore menu'. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* TIP 360: Make Tk menu activation follow mouse movement.patthoyts2010-01-092-5/+23
| | | | | | | | | | | | This patch makes Tk menus on unix follow mouse motion in the same way Windows and GNOME menus follow the mouse. Once a menubar dropdown has been activated, moving the mouse to another menubar button or cascade item will activate the dropdown without needing another click. The previous behaviour can be restored by setting the *Menu.clickToFocus option true or by calling 'tk::classic::restore menu' if this is preferred. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* Centralize the definitions of what keys do particular types of left and rightdkf2010-01-065-54/+101
| | | | movements in entries and text widgets. They vary between platforms!
* Bug 1958848: be more positive in canvas item demopatthoyts2010-01-041-2/+2
|
* Fix the <Return> binding for tk_dialog to invoke the focused button.patthoyts2010-01-041-24/+11
| | | | | | | | The standard for Windows and Gtk+ is that the <Return> binding invokes the button that currently has the keyboard focus. This can be seen in tk_messageBox which implements this. This patch implements this feature and also makes use of the tk grab utility functions to replace the grab handling code.
* Fix the default size of the font chooser and set minimum sizepatthoyts2010-01-041-9/+30
|
* Fix the console <<Cut>> binding to actually remove textpatthoyts2010-01-041-27/+38
|
* Fix keyboard access to console menu and restored broken comment.patthoyts2010-01-041-2/+3
|
* Make the filebox demo prettierpatthoyts2010-01-041-7/+10
|
* Fix display of source code for fontchooser demopatthoyts2010-01-041-2/+2
|
* Correctly handle quoted ampersands in AmpMenuArgs and friendspatthoyts2010-01-041-19/+4
|
* Simplify the postscript generation.dkf2010-01-031-92/+99
|
* tearoff menus should be transient and use the toolwindow style on Windowspatthoyts2010-01-031-1/+6
|
* Reworked ActivateTab focus selection logicjenglish2009-12-252-38/+65
| | | | ([Bug 2917688], also fixes [Bug 2546779]).
* ttk::sizegrip: Patch to avoid bizarro behavior under compiz [Bug 2912356].jenglish2009-12-231-3/+6
|
* Rename variable to avoid clash with floorplan demo. Reported bydkf2009-12-161-3/+3
| | | | Emiliano Gavilan.
* Split out presentation-form decision code into clearer procedure.dkf2009-12-151-41/+64
| | | | Add some more different languages (Devanagari script needs attention...)
* * library/demos/unicodeout.tcl: Added code to check forKevin B Kenny2009-12-151-19/+41
| | | | | | | | right-to-left support on Windows and adjust Hebrew and Arabic character strings accordingly. Changed the Hebrew string to 'ktb ebryt' (ktav Ivrit, "Hebrew writing") to be consistent with at least the Greek and Russian strings. Thanks to Rodrigo Readi for calling the inconsistency to our attention.
* Simplified this code following observation by Brian Griffindkf2009-12-111-7/+3
|
* [Bug 2912473]: Stop problems caused by display names with a double colon in.dkf2009-12-111-17/+30
|
* Added demo of ttk::scale widget.dkf2009-12-102-1/+44
|
* * library/safetk.tcl (::safe::loadTk): [Bug 2902573]: Fixed accessandreas_kupries2009-11-231-6/+8
| | | | | | to the cleanupHook of the safe base. The code used the old internal commands which have been removed since 2009-11-05/06. See Tcl's ChangeLog.
* [update] hygiene.jenglish2009-11-124-11/+11
| | | | | | | + Where possible, replace [a; update; b] with [a ; after 0 b]. + Where not possible, use [update idletasks] instead of full [update]. + Use [after 0] in favor of [after idle] for delayed work, to reduce likelihood of reentrancy issues in [update idletasks].
* Minor glitch fix.dkf2009-10-271-2/+2
|
* Fix [Bug 1854913] by improving the class bindings.dkf2009-10-251-9/+11
|
* [Patch 1530276]: Improve no-indicator check/radio buttons on Unix.dkf2009-10-241-7/+125
|
* Deal with [Patch 2168768], so making the -typevariable option work consistentlydkf2009-10-222-12/+16
| | | | with global variables (the only way it *can* work...)
* * library/msgs/pl.msg: Applied patch to Polish message catalogandreas_kupries2009-10-201-30/+48
| | | | | created and submitted by Pawel Pawlak <morris@elysium.pl> (via JeffH).
* [Patch 2870648]: Corrected cursor used in file/directory dialogs.dkf2009-10-081-2/+2
|
* [Bug 2787164] fix size of dropdown arrow on combobox and menubutton for ↵patthoyts2009-10-071-3/+18
| | | | Windows 7.
* Corrected descriptive textdkf2009-09-041-2/+2
|
* Correct bindings for [tk_messageBox].dkf2009-08-241-4/+4
|
* Make the pendulum demo cope with resizing more gracefully.dkf2009-08-081-15/+18
|
* * library/demos/mclist.tcl: use native sort arrows with aqua theme.das2009-07-151-4/+18
|
* * macosx/ttkMacOSXTheme.c: Update notebook tab appearance todas2009-07-151-4/+5
| | | | | | | | * library/ttk/aquaTheme.tcl: modern L&F; adjust tab & notebook padding and tabmargins; correct appearance of selected tree header; add support for native tree header sort arrows via user1 state. [Patch 2819620]
* Merge of TkAqua Cocoa portmacosx_cocoa_mergedas2009-06-291-1/+6
|
* Updated the Wish and Tk icons for Windows 7 support.patthoyts2009-05-062-0/+114
| | | | | | Vista and Windows 7 like to display larger icon sizes than previous versions although we do not include the largest suggested size (256x256) as that prevents building with msvc6. Both icons are rendered from SVG versions of the Tcl feather or the Wish lamp.
* Fix [Bug 2777019].dkf2009-05-011-2/+2
|
* Factor out some of the postscript generation code to the PS prolog.dkf2009-05-011-1/+112
|
* Make filebox.test pass cleanly again.dkf2009-04-142-4/+4
|
* Fix the other issue from [Bug 2759119].dkf2009-04-131-2/+2
|
* Fix [Bug 2759119] and apply [Patch 2739360] (partially).dkf2009-04-132-124/+169
|
* Oops!dkf2009-04-111-2/+2
|
* tk_setPalette: Don't set *selectColor: #b03060;jenglish2009-04-101-5/+2
| | | | this makes radio- and checkbuttons look wrong post-TIP#109.
* * library/demos/filebox.tcl: only show "Motif Style Dialog" checkbuttondas2009-04-101-2/+2
| | | | on X11 windowingsystem.
* * library/demos/widget: GOOBE: use ttk::cursordas2009-04-101-6/+6
|