summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CONSTify Tk_SetClassProcsnijtmans2010-01-106-11/+19
| | | FossilOrigin-Name: c7ac45a0c15e986a9e884ebe01f17133013591ea
* TIP 360: Remove special handling of .help menu on X11.patthoyts2010-01-094-7/+28
| | | | | | | | | | | | | | 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> FossilOrigin-Name: 6821c28743dad60517ae8e5ec511dd94962a8659
* TIP 360: Make Tk menu activation follow mouse movement.patthoyts2010-01-093-5/+28
| | | | | | | | | | | | | | 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> FossilOrigin-Name: 73a6d046e7ce5739a53bea110c60f083a94016de
* Minor formatting fixdkf2010-01-081-3/+43
| | | FossilOrigin-Name: 12e5b26a6ae4876c791c6a169d680db4969b4a7f
* [Bug 2927569] Corrected image put documentation for -to option.patthoyts2010-01-082-3/+9
| | | | | | | Multiple edits have peverted the original meaning of the phrase 'image file data' to reference a filename option that does not exist. FossilOrigin-Name: ef6218746c2f9366db96c4d3bf8309333a818193
* [Bug 2677890]: Fix odd text widget update problem that had scrollbars beingdkf2010-01-073-4/+40
| | | | | | unable to cover the whole widget. Fix is to reify the range to update sooner. FossilOrigin-Name: 82437bcb62e89a1aacaeda153f5e33a7efb0fbc7
* Centralize the definitions of what keys do particular types of left and rightdkf2010-01-067-55/+173
| | | | | | movements in entries and text widgets. They vary between platforms! FossilOrigin-Name: c1dfb56927e90dd1af8b0b7a81cf0bc8396d7bb8
* [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-068-18/+129
| | | | | | to work on OSX too. FossilOrigin-Name: 0ebe1c29cabeaa15bb8b9c2ad2f163f7d8c1cc72
* Oopsdkf2010-01-061-2/+2
| | | FossilOrigin-Name: e485aab30bc0280341b62c047116ee3505924526
* [Bug 1163496]: Allow windows to be set to be transients for withdrawn mastersdkf2010-01-063-8/+35
| | | | | | correctly. FossilOrigin-Name: 051f375e6a0dedd49fd619a793eb6a3a3fb33d50
* Patch 289825: Enable unlimited multiple file selection from the open files ↵patthoyts2010-01-053-114/+310
| | | | | dialog FossilOrigin-Name: e47383bdeb6909044a7f4e9647b20ad095f330a7
* Win doesn't have round(), but does have floor()dkf2010-01-051-2/+2
| | | FossilOrigin-Name: ebce8e7f611af222c0a3817722c1bf2faeba36e3
* [Bug 220950]: Don't delete the last menu entry when it is obvious that is notdkf2010-01-053-3/+29
| | | | | | what was intended. FossilOrigin-Name: f49d1f0c9696c8f5f101da134c58b0e323db7565
* Corrected rounding of coordinates when working with fonts. [Bug 2824916]dkf2010-01-056-28/+81
| | | FossilOrigin-Name: 7312a6c14ec6a078452dd26165003d425bbc4811
* Bug 1958848: be more positive in canvas item demopatthoyts2010-01-041-2/+2
| | | FossilOrigin-Name: 2aa7722bb20021f7d4ba3df3fd5d6241dccdc7ec
* Bug 2192104: mention the USE_TK_STUBS macro in the man pagepatthoyts2010-01-042-8/+12
| | | FossilOrigin-Name: cf4658313beadd55e0d0a6c2a1946238f3227b85
* Fix the <Return> binding for tk_dialog to invoke the focused button.patthoyts2010-01-042-24/+13
| | | | | | | | | | 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. FossilOrigin-Name: 8f0a215fbfd4a977ec7a1669bffd68a047318e89
* Fix the default size of the font chooser and set minimum sizepatthoyts2010-01-042-9/+32
| | | FossilOrigin-Name: dca579c56a843c5d0ebdffd5c5133b1828c9c819
* Fix the console <<Cut>> binding to actually remove textpatthoyts2010-01-042-27/+39
| | | FossilOrigin-Name: 06ef20f1fc22b6c724a9404b633c129c48d0b5f3
* Fix keyboard access to console menu and restored broken comment.patthoyts2010-01-042-2/+4
| | | FossilOrigin-Name: 4e2a0e6e496176f686b3d5d128fcb0bb587c74c8
* Make the filebox demo prettierpatthoyts2010-01-042-8/+11
| | | FossilOrigin-Name: 3d5e82baa35201e316f3979ae22cbe767d55a43a
* Fix display of source code for fontchooser demopatthoyts2010-01-042-2/+4
| | | FossilOrigin-Name: 4820d6d1078488ccc1aff158a7816610c6b18aba
* Correctly handle quoted ampersands in AmpMenuArgs and friendspatthoyts2010-01-042-19/+8
| | | FossilOrigin-Name: a4237532100fa05f5f59528acc17279fa2893929
* [Tcl Bug 1636685]: Use the configuration for modern FreeBSD suggested by thedkf2010-01-032-2/+31
| | | | | | FreeBSD porter. FossilOrigin-Name: 1908e6f6375dd785f4d94b58318c76b7992daee8
* cast needed on msvc6 for ushort to char to avoid warningpatthoyts2010-01-031-2/+2
| | | FossilOrigin-Name: c56081beb95ebc959768caf2ef1a809657b8e48c
* Patch 2848897: Support the system keyboard cues setting on Windowspatthoyts2010-01-033-22/+99
| | | | | | | | | | | This patch by Anton Kovalenko adds support for the Windows system-wide UI setting that prevents accelerators being underlined unless the Alt key is pressed. Modified to support the system keyboard cues flag and to handle dynamic changes to the system parameters by the user. FossilOrigin-Name: 1f42762643ee881f132f2bca88fcb6a27f962d5d
* Simplify the postscript generation.dkf2010-01-034-193/+213
| | | FossilOrigin-Name: 3f29c665678a210b44963d37acbb548a233f90bc
* tearoff menus should be transient and use the toolwindow style on Windowspatthoyts2010-01-032-1/+8
| | | FossilOrigin-Name: f59e9722e9578f70282e5b0e149b6206c424bc3a
* cast away const needed for msvc6 when calling Tcl_SetResultpatthoyts2010-01-031-2/+3
| | | FossilOrigin-Name: c432e0c1c13c1e0c58435d930169c4a2bee93592
* menu tests using 'tkwait visibility' are unix onlypatthoyts2010-01-032-4/+8
| | | FossilOrigin-Name: d823d2df5ad564b9770d6ffb745e7fc57ec3e97d
* SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-0239-315/+295
| | | FossilOrigin-Name: 270544288f23a8c9f860bd4744422c376ee4b471
* Revert my last commit on grounds it is more likely to cause problems than not.dkf2010-01-022-8/+1
| | | FossilOrigin-Name: a431ef58c8df5f425060cff5206f733d72986fdb
* Added point-size conversion, from Ubuntu port.dkf2010-01-022-1/+8
| | | FossilOrigin-Name: eeffd2eab4d2cafa47bea10b057c0ad47d53e070
* Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-0210-80/+194
| | | FossilOrigin-Name: a5ab1bd805d9055802e3b0a110c7dbc80231f8b3
* [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.dkf2010-01-014-84/+75
| | | FossilOrigin-Name: 245ce503fd6df59b539eb448593e7afa6552dc9a
* Patch 2879789: Make torn-off menu entrys activate across whole windowpatthoyts2009-12-303-14/+73
| | | | | | | | | | The torn-off menu entries do not activate except immediately over the label or icon. If the window containing the torn-off menu is expanded then a lot of dead space may be created, including the cascade arrow. This patch fixes this making the whole width for any menu entry capable of activation when the pointer hovers over the item. FossilOrigin-Name: c613aa583e742a588f12aa9de94c8a4fb1351d39
* Highlight for cascade items in torn-off menus is incorrect on Windows.patthoyts2009-12-272-3/+10
| | | | | | Applied patch from [Bug 2879927]. FossilOrigin-Name: 023795dd6539b179a2c335719654f795fe598a12
* Reworked ActivateTab focus selection logicjenglish2009-12-253-38/+71
| | | | | | ([Bug 2917688], also fixes [Bug 2546779]). FossilOrigin-Name: ce34afb173a46a3ce152961fa7a620b67e2d2497
* [Bug 2914943]: Correct the first option(n) example.dkf2009-12-252-15/+51
| | | | | | | Also define what the format of option patterns is; that's a much less commonly known fact than it used to be. FossilOrigin-Name: a2f60d39832d9f016e49c03c30428a4053b054a4
* Use EXE_SUFFIX for Cygwin, andnijtmans2009-12-234-82/+138
| | | | | | install libtk8.6.dll in bin directory FossilOrigin-Name: 4f6f7224b8ccf43e897e9a374a29813f3a87496a
* ttk::sizegrip: Patch to avoid bizarro behavior under compiz [Bug 2912356].jenglish2009-12-232-3/+11
| | | FossilOrigin-Name: 710e63089d106b289df5dd5a4cdad94aa54fe4c6
* Apply (a version of) [Patch 2917663] to make [send] work on recent Linux.dkf2009-12-202-44/+70
| | | FossilOrigin-Name: 97839576dc38d4b02b59a4c42e5dc8c3469d82d3
* CONSTify return values of TkKeysymToString,nijtmans2009-12-169-32/+38
| | | | | | | | | TkFindStateString, TkpGetString, TkpGetChar, which are all not supposed to be modified by the caller. In tkUtil.c this gets rid of a dangerous type cast. FossilOrigin-Name: 9350f0df9854870c0324e71ec0685efd08dd764e
* Add tk.pc and tkConfig.sh to .cvsignorenijtmans2009-12-161-0/+2
| | | FossilOrigin-Name: 959642bb8b313b37d87e45aeceeef333aa90506d
* Fix gcc warning: ignoring return value of ‘strtol’,nijtmans2009-12-163-12/+24
| | | | | | | | declared with attribute warn_unused_result Fix gcc warning: dereferencing pointer ‘xgePtr’ does break strict-aliasing rules FossilOrigin-Name: f5b1366fbe2cc2134608e614d9c6d055be875ba7
* Rename variable to avoid clash with floorplan demo. Reported bydkf2009-12-161-3/+3
| | | | | | Emiliano Gavilan. FossilOrigin-Name: ad523b4837392872def877f73ad9fbac930848fb
* * generic/tkConfig.c: Added another dimension of refCounting to thedgp2009-12-154-10/+60
| | | | | | | | | | * generic/tkInt.c: "option" Tcl_ObjType to improve memory troubles * generic/tkObj.c: detailed in [Bug 2492179]. Also removed registration of the "option" Tcl_ObjType. *** POTENTIAL INCOMPATIBILITY *** for callers of Tcl_GetObjType("option") which must now handle a NULL return. FossilOrigin-Name: 1b6f84f687e8810cd418910039a414eec932f3c3
* Split out presentation-form decision code into clearer procedure.dkf2009-12-152-56/+85
| | | | | | Add some more different languages (Devanagari script needs attention...) FossilOrigin-Name: 3d538f73c2d6776e641e52a33578ea65d9a3bf46
* * library/demos/unicodeout.tcl: Added code to check forkennykb2009-12-152-21/+52
| | | | | | | | | | 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. FossilOrigin-Name: 3125bdeadfb40629e270db246326638b8076dee3
* [Bugs 220600, 220690]: Comment that TkWinChildProc is exportednijtmans2009-12-121-1/+1
| | | | | | through the stubs table since 8.5.9 FossilOrigin-Name: a03650a8273c448d21731283fd806712a852af7e