summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.h
diff options
context:
space:
mode:
authordrh@sqlite.org <drh>2002-06-17 10:54:29 (GMT)
committerdrh@sqlite.org <drh>2002-06-17 10:54:29 (GMT)
commit9e83d4ac334c9dda1b6444841c7b348efb1bc29c (patch)
tree23b6e0c259b3c43053f44dbf6557b7a8ea074079 /generic/tkButton.h
parent2bd48ca5cdfa4b3b44bdfb67108edde10c14c5f9 (diff)
downloadtk-9e83d4ac334c9dda1b6444841c7b348efb1bc29c.zip
tk-9e83d4ac334c9dda1b6444841c7b348efb1bc29c.tar.gz
tk-9e83d4ac334c9dda1b6444841c7b348efb1bc29c.tar.bz2
Initial implementation of TIP #82: added the -offrelief option to
checkbutton and radiobutton to allow those widgets to have a MS-Office look and feel.
Diffstat (limited to 'generic/tkButton.h')
-rw-r--r--generic/tkButton.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tkButton.h b/generic/tkButton.h
index 6469d46..be195c6 100644
--- a/generic/tkButton.h
+++ b/generic/tkButton.h
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkButton.h,v 1.8 2000/11/22 01:49:37 ericm Exp $
+ * RCS: @(#) $Id: tkButton.h,v 1.9 2002/06/17 10:54:29 drh Exp $
*/
#ifndef _TKBUTTON
@@ -120,6 +120,11 @@ typedef struct {
* effect for the border, such as
* TK_RELIEF_RAISED, to be used when the mouse
* is over the button. */
+ int offRelief; /* Value of -offrelief option: specifies a 3-d
+ * effect for the border, such as
+ * TK_RELIEF_RAISED, to be used when a
+ * checkbutton or radiobutton without
+ * indicator is off */
Tcl_Obj *highlightWidthPtr; /* Value of -highlightthickness option:
* specifies width in pixels of highlight to
* draw around widget when it has the focus.