summaryrefslogtreecommitdiffstats
path: root/generic/tkText.h
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-05-27 15:35:52 (GMT)
committervincentdarley <vincentdarley>2003-05-27 15:35:52 (GMT)
commit72a139a4ee101796fcc487b5b3bba46295f13b8c (patch)
tree2b0f643f9180be5a8850e6ce4a100f39000a42cf /generic/tkText.h
parente8d261532f654e15e81a8d3e0f4ad562d7382e8c (diff)
downloadtk-72a139a4ee101796fcc487b5b3bba46295f13b8c.zip
tk-72a139a4ee101796fcc487b5b3bba46295f13b8c.tar.gz
tk-72a139a4ee101796fcc487b5b3bba46295f13b8c.tar.bz2
text widget cleanup fix
Diffstat (limited to 'generic/tkText.h')
-rw-r--r--generic/tkText.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/generic/tkText.h b/generic/tkText.h
index 7521fc5..d17735c 100644
--- a/generic/tkText.h
+++ b/generic/tkText.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkText.h,v 1.14 2003/05/19 13:04:23 vincentdarley Exp $
+ * RCS: @(#) $Id: tkText.h,v 1.15 2003/05/27 15:35:53 vincentdarley Exp $
*/
#ifndef _TKTEXT
@@ -513,7 +513,6 @@ typedef struct TkText {
* it here. */
int state; /* Either STATE_NORMAL or STATE_DISABLED. A
* text widget is read-only when disabled. */
-
/*
* Default information for displaying (may be overridden by tags
* applied to ranges of characters).
@@ -707,6 +706,10 @@ typedef struct TkText {
* for the duration of button presses.
* UPDATE_SCROLLBARS: Non-zero means scrollbar(s) should be updated
* during next redisplay operation.
+ * NEED_REPICK This appears unused and should probably
+ * be ignored
+ * OPTIONS_FREED The widget's options have been freed
+ * DESTROYED The widget is going away
*/
#define GOT_SELECTION 1
@@ -715,6 +718,8 @@ typedef struct TkText {
#define BUTTON_DOWN 8
#define UPDATE_SCROLLBARS 0x10
#define NEED_REPICK 0x20
+#define OPTIONS_FREED 0x40
+#define DESTROYED 0x80
/*
* Records of the following type define segment types in terms of