diff options
author | ericm <ericm@noemail.net> | 2000-05-14 20:45:36 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-05-14 20:45:36 (GMT) |
commit | 29ba50deb33c7d5e0dbb1bba012420b8db82a575 (patch) | |
tree | 37a41246252550f624c788dc529937a909684f60 /ChangeLog | |
parent | 97a720b5b72c335a99789891909240d4aafab1a9 (diff) | |
download | tk-29ba50deb33c7d5e0dbb1bba012420b8db82a575.zip tk-29ba50deb33c7d5e0dbb1bba012420b8db82a575.tar.gz tk-29ba50deb33c7d5e0dbb1bba012420b8db82a575.tar.bz2 |
* library/entry.tcl: Adjusted Button-1 binding to set focus to the
entry when it is readonly or normal.
* doc/entry.n: Added documentation for readonly state,
-disabledforeground, -disabledbackground.
* tests/entry.test: Added tests for readonly state.
* generic/tkEntry.c: Added support for "readonly" state, and
redefined "disabled" state. A disabled entry will display its
text in a dimmed color and possibly with a different background,
and will be completely unusable (no selection, no editing). A
readonly entry will look like a normal entry, but it will not be
editable; selection is still allowed. [RFE: 4239]. To support the
new disabled state properly, "-disabledforeground" and
"-disabledbackground" options were added.
*** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE ***
* win/tkWinDefault.h:
* mac/tkMacDefault.h:
* unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG,
DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.
FossilOrigin-Name: 1e58446d8a212f90f788f6cd0965f9cbb2d1e606
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -1,3 +1,28 @@ +2000-05-14 Eric Melski <ericm@scriptics.com> + + * library/entry.tcl: Adjusted Button-1 binding to set focus to the + entry when it is readonly or normal. + + * doc/entry.n: Added documentation for readonly state, + -disabledforeground, -disabledbackground. + + * tests/entry.test: Added tests for readonly state. + + * generic/tkEntry.c: Added support for "readonly" state, and + redefined "disabled" state. A disabled entry will display its + text in a dimmed color and possibly with a different background, + and will be completely unusable (no selection, no editing). A + readonly entry will look like a normal entry, but it will not be + editable; selection is still allowed. [RFE: 4239]. To support the + new disabled state properly, "-disabledforeground" and + "-disabledbackground" options were added. + *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE *** + + * win/tkWinDefault.h: + * mac/tkMacDefault.h: + * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, + DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO. + 2000-05-12 Eric Melski <ericm@scriptics.com> * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry): |