diff options
author | hobbs <hobbs@noemail.net> | 2006-09-06 22:01:24 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2006-09-06 22:01:24 (GMT) |
commit | adcca8a0b9e3cb6f32f475c1760c11d0dd4d6ed0 (patch) | |
tree | 983074bdc91b005de21970a3ec98bae0c6d5af63 /generic/tkInt.h | |
parent | 3a706783fdbc7b1e5e64fcfcc43331a7baad7b7f (diff) | |
download | tk-adcca8a0b9e3cb6f32f475c1760c11d0dd4d6ed0.zip tk-adcca8a0b9e3cb6f32f475c1760c11d0dd4d6ed0.tar.gz tk-adcca8a0b9e3cb6f32f475c1760c11d0dd4d6ed0.tar.bz2 |
* generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTION
* generic/tkInt.h: control of entry/text selection display
* generic/tkText.c: based on focus to the Tcl level,
* generic/tkTextBTree.c: controlled by ::tk::AlwaysShowSelection
* generic/tkTextDisp.c: (boolean, private). [Bug 1553691]
* generic/tkWindow.c:
* library/tk.tcl
* unix/tkUnixPort.h:
FossilOrigin-Name: a3cfbe860d50a31ca8d861e27c1db67dfde2a8c4
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 848a8e9..1bfc008 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: $Id: tkInt.h,v 1.56.2.8 2006/06/05 18:06:47 dgp Exp $ + * RCS: $Id: tkInt.h,v 1.56.2.9 2006/09/06 22:01:25 hobbs Exp $ */ #ifndef _TKINT @@ -676,6 +676,8 @@ typedef struct TkMainInfo { * structures. Managed by tkImage.c. */ int strictMotif; /* This is linked to the tk_strictMotif * global variable. */ + int alwaysShowSelection; /* This is linked to the + * ::tk::AlwaysShowSelection variable. */ struct TkMainInfo *nextPtr; /* Next in list of all main windows managed by * this process. */ } TkMainInfo; @@ -1212,6 +1214,7 @@ EXTERN void TkPrintPadAmount _ANSI_ARGS_((Tcl_Interp *interp, EXTERN int TkParsePadAmount _ANSI_ARGS_((Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, int *pad1Ptr, int *pad2Ptr)); +EXTERN int TkpAlwaysShowSelection _ANSI_ARGS_((Tk_Window tkwin)); /* * Unsupported commands. |