summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.h
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-261-7/+5
| | | | | | | | | | | | * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button. FossilOrigin-Name: 6e8bda65b8ba2dd0a752ecffcd03955feadd3093
* Initial implementation of TIP #82: added the -offrelief option todrh2002-06-171-1/+6
| | | | | | | checkbutton and radiobutton to allow those widgets to have a MS-Office look and feel. FossilOrigin-Name: 882e41f5ee6e4ceae781257e3442e7882a9cd4d4
* Overall change: Implemented TIP 5, which exportsericm2000-11-221-2/+2
| | | | | | | | | | | TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs, adding a size field to Tk_ClassProcs to allow for future expansion, and renaming the geometryProc to worldChangedProc, which is more in keeping with the actual use of the callback. See ChangeLog for details. FossilOrigin-Name: df44e48c3137a98d587cec736ae6ffa531369353
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-171-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * Merged 8.1 branch into the main trunkstanton1999-04-161-98/+145
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* EXPORT is now TCL_STORAGE_CLASSescoffon1998-08-041-4/+4
| | | FossilOrigin-Name: 840c6370a9d02cdc8ed283d0c12f73ec35fb8557
* added support for export/import of DLL symbols. If BUILD_tk is defined,escoffon1998-07-291-0/+8
| | | | | | EXPORT is mapped to DLLEXPORT, otherwise it is DLLIMPORT. FossilOrigin-Name: 30f14886c79e35910f341ca8268acf520e57d63b
* Initial revisionrjohnson1998-04-011-0/+241
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4