summaryrefslogtreecommitdiffstats
path: root/tests/button.test
Commit message (Collapse)AuthorAgeFilesLines
* Use non-busy wait in stead of busy "after 100". Testcase still passes! Great!jan.nijtmans2016-05-031-1/+0
|\ | | | | FossilOrigin-Name: b44ff3c9a2bbfc2da53cf8a0bce75bc86c5ece6c
* | Added test button-14.1 to guard against regressions regarding [011706ec42]fvogel2016-05-021-0/+19
| | | | | | FossilOrigin-Name: 808b61fdd05b648c0a60533775348c5ab4d37d7e
* | Fixed Americano-British English (American English selected)fvogel2016-05-021-8/+8
|/ | | FossilOrigin-Name: 192eb2f0744745fc9bcada1a136454d892329f95
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\ | | | | FossilOrigin-Name: b8a1385217cc117d6962c234f0a4d28ff10e089c
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ | | | | | | FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | | | | | | | | FossilOrigin-Name: a74f32bb6369d3e66e661145c81a98a14ed79b3a
* | | Tk tests that create images need to be independent of the interpreter ↵patthoyts2009-01-131-18/+9
| | | | | | | | | | | | | | | environment. FossilOrigin-Name: 1cd8c350b2aa943a22045a8141599f169bb17c53
* | | [Bug 2495740] result needed to exclude any images already present.patthoyts2009-01-111-2/+7
| | | | | | | | | FossilOrigin-Name: be96804e7ab4bca1b9715c02568b6f12a3ecb684
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-3/+3
| | | | | | | | | FossilOrigin-Name: def570d7bdd7211b4c17c706781050222d16890f
* | | Update to tcltest2aniap2008-07-221-60/+51
| | | | | | | | | FossilOrigin-Name: 4ba385be00bd9f8ecc8ebd0bcf9252bcbe5f1205
* | | Update to tcltest2aniap2008-07-221-660/+3754
|/ / | | | | FossilOrigin-Name: effbdb30ad45a682d721147e30d41b4f612c7efe
* | typosdgp2004-12-071-4/+4
| | | | | | FossilOrigin-Name: f4fe875d4c830230c8ce7e235ca13a07e777e642
* | More duplicate testname elimination. [1078648]dkf2004-12-071-12/+19
| | | | | | FossilOrigin-Name: c56ad2822d3ec3ff3b61758038a01e9f7e4940f3
* | Split duplicate test names [Bug 1078648]dkf2004-12-041-2/+2
| | | | | | FossilOrigin-Name: b6ab93bceb2b3997b5406becf947ca5c3948ac0d
* | * tests/button.test: Update expected results to account for moredgp2004-11-031-13/+19
| | | | | | | | | | | | verbose errorinfo from errors in variable traces [Tcl Bug 572164] FossilOrigin-Name: 8a1b72b8048fce335116fcb1617b8aac3a97fd7c
* | First step towards improving test style. Also start using Tcl 8.5 features.dkf2004-05-231-19/+33
| | | | | | FossilOrigin-Name: 8e6c4d129ce99dffc495e03b82bb2f284e6c1ffb
* | * doc/checkbutton.n: TIP#110 implementationhobbs2004-02-181-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/radiobutton.n: Tristate Checkbutton and Radiobuttons * generic/tkButton.c: * generic/tkButton.h: * library/demos/check.tcl: * library/demos/radio.tcl: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDefault.h: * tests/button.test: * unix/tkUnixButton.c: * unix/tkUnixDefault.h: * win/tkWinButton.c: * win/tkWinDefault.h: FossilOrigin-Name: 59826fd691573be4c8df8ac9e4f5a078db2ea22f
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
|/ | | | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files. FossilOrigin-Name: 01af81ecf20f3111d08ac51117da1c5ca09c567d
* * tests/button.test: added button-14.1hobbs2002-09-021-1/+31
| | | | | | | | | * win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button sizing to be equal for one-line buttons with -height of 0 or 1, as well as -height 0 buttons with empty text and no image, which should be the same as single-line text buttons. [Bug #565485] FossilOrigin-Name: 0c303d23f98178dc5ea7f23cf7a139739184f189
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-45/+36
| | | FossilOrigin-Name: c483179b915e863450b867189ddfab962971936a
* Initial implementation of TIP #82: added the -offrelief option todrh2002-06-171-2/+3
| | | | | | | checkbutton and radiobutton to allow those widgets to have a MS-Office look and feel. FossilOrigin-Name: 882e41f5ee6e4ceae781257e3442e7882a9cd4d4
* * win/tkWinButton.c (TkpComputeButtonGeometry): corrected thehobbs2001-11-171-2/+4
| | | | | | | | | default size of Windows buttons to conform to the Windows style. This changes the default size of buttons on Windows. [Patch #463234] (nelson) **** POTENTIAL VISUAL INCOMPATABILITY **** FossilOrigin-Name: a6841ebfc625352fd53069637b75984537242b02
* * doc/radiobutton.n: Added documentation for -overrelief option.ericm2000-05-251-5/+5
| | | | | | | | | | | | | | | | | | | * doc/checkbutton.n: Added documentation for -overrelief option. * doc/label.n: Added documentation for -state option. * generic/tkButton.c: Added -overrelief option for checkbuttons, and radiobuttons. * library/button.tcl (tkButtonDown, macintosh version): Added protection against querying the -repeatdelay option from a widget that doesn't support it (ie, checkbuttons, radiobuttons, etc). Other platforms use a different binding script for checkbuttons and radiobuttons, so they don't have this issue. (tkCheckRadioEnter, windows version): Added code to handle -overrelief for check/radiobuttons on windows. FossilOrigin-Name: bb4f9a3fce8768d2d0368928ffb3757799d390cc
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-171-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TK_OPTION_RELIEF. * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK. * tests/button.test: Added tests for -overrelief; removed tests for -relief link. * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK. * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK. * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF. * library/button.tcl: Added binding support for -overrelief. * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL. * generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers. * generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK. * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option. FossilOrigin-Name: 107c0be19713ca6aedb57383ae53c62d430c9280
* * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):ericm2000-05-131-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry): Added code for drawing compound buttons. * tests/button.test: Added configuration tests for -repeatdelay, -repeatinterval, -compound. * library/button.tcl: Added support for -repeatedelay, -repeatinterval options. * generic/tkOldConfig.c: Changed handling of link relief so that proper error messages are used. * generic/tkButton.h: Added -compound, -repeatdelay, -repeatinterval options. * generic/tkButton.c: Added event watchers for enter/leave events, for link relief support. * generic/tk3d.c: Changed handling of link relief so that proper error messages are used. * generic/tk.h: Changed values of TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support. FossilOrigin-Name: 965b15d89edbe399990f79d5b0592c72ffd00a42
* * doc/button.n: Added documentation for link relief.ericm2000-05-101-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/button.test: Added tests for link relief for buttons. * generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348] * generic/tk3d.c: Added support for link relief. [RFE: 4348] * mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348] * generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348] * generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348] * win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog). * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303]. FossilOrigin-Name: 4194a8ac77bf8dfeaa5e9522117ac35c829e9897
* * tests/button.test:ericm2000-03-081-5/+5
| | | | | | * generic/tkButton.c: Added -disabledforeground/-state to labels. FossilOrigin-Name: fc902c50d43d551e77a2f1d4896059e1f5423f97
* * tests/config.test: extra test to check object cleanup whenhobbs2000-03-021-14/+1
| | | | | | | destroying the widget * tests/entry.test: added test suite for entry validation FossilOrigin-Name: e96237c52855e6b375bfd105b0869a4f572af6d7
* * Merged 8.1 branch into the main trunkstanton1999-04-161-212/+188
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Initial revisionrjohnson1998-04-011-0/+822
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4