summaryrefslogtreecommitdiffstats
path: root/generic/tkText.h
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2003-05-27 15:35:51 (GMT)
committervincentdarley <vincentdarley@noemail.net>2003-05-27 15:35:51 (GMT)
commit9b02c28bf8e3c90c4b7789d00cf84a586a289c44 (patch)
tree2b0f643f9180be5a8850e6ce4a100f39000a42cf /generic/tkText.h
parent324e441e405835dc2b39d3957d79325b30194023 (diff)
downloadtk-9b02c28bf8e3c90c4b7789d00cf84a586a289c44.zip
tk-9b02c28bf8e3c90c4b7789d00cf84a586a289c44.tar.gz
tk-9b02c28bf8e3c90c4b7789d00cf84a586a289c44.tar.bz2
text widget cleanup fix
FossilOrigin-Name: abc0aa2a5d5239f1415c144d20f3d0c434f6a8bb
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