summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkButton.h')
-rw-r--r--generic/tkButton.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/generic/tkButton.h b/generic/tkButton.h
index d3f7cfa..78e0765 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.10 2003/04/26 02:59:20 hobbs Exp $
+ * RCS: @(#) $Id: tkButton.h,v 1.11 2004/02/18 00:40:24 hobbs Exp $
*/
#ifndef _TKBUTTON
@@ -96,6 +96,13 @@ typedef struct {
Tk_Image selectImage; /* Derived from selectImagePtr by calling
* Tk_GetImage, or NULL if selectImagePtr
* is NULL. */
+ Tcl_Obj *tristateImagePtr; /* Value of -tristateimage option: specifies
+ * image to display in window when selected,
+ * or NULL if none. Ignored if imagePtr is
+ * NULL. */
+ Tk_Image tristateImage; /* Derived from tristateImagePtr by calling
+ * Tk_GetImage, or NULL if tristateImagePtr
+ * is NULL. */
/*
* Information used when displaying widget:
@@ -228,6 +235,10 @@ typedef struct {
* to store in variable when this button
* isn't selected. Used only by
* checkbuttons. */
+ Tcl_Obj *tristateValuePtr; /* Value of -tristatevalue option: specifies value
+ * to display Tristate or Multivalue mode when
+ * variable matches this value. Used by check-
+ * buttons. */
/*
* Miscellaneous information:
@@ -286,6 +297,7 @@ typedef struct {
#define SELECTED (1 << 1)
#define GOT_FOCUS (1 << 2)
#define BUTTON_DELETED (1 << 3)
+#define TRISTATED (1 << 4)
/*
* Declaration of variables shared between the files in the button module.
*/