diff options
author | Guido van Rossum <guido@python.org> | 1990-10-31 11:26:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-10-31 11:26:01 (GMT) |
commit | be5ea2337413f0df95efcbb773a137f9b696635c (patch) | |
tree | f63bc267aa8db0335084545ee3352e3490bce9df /Lib/lib-stdwin | |
parent | 468c448bccf4788e57e7f4e484d0285da54dedc7 (diff) | |
download | cpython-be5ea2337413f0df95efcbb773a137f9b696635c.zip cpython-be5ea2337413f0df95efcbb773a137f9b696635c.tar.gz cpython-be5ea2337413f0df95efcbb773a137f9b696635c.tar.bz2 |
Added new event types and selection types.
Diffstat (limited to 'Lib/lib-stdwin')
-rw-r--r-- | Lib/lib-stdwin/stdwinevents.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/lib-stdwin/stdwinevents.py b/Lib/lib-stdwin/stdwinevents.py index 889dd95..ab80148 100644 --- a/Lib/lib-stdwin/stdwinevents.py +++ b/Lib/lib-stdwin/stdwinevents.py @@ -22,6 +22,10 @@ WE_MOVE = 9 # not reported -- reserved for future use WE_DRAW = 10 # detail is ((left, top), (right, bottom)) WE_TIMER = 11 # detail is <no object> WE_DEACTIVATE = 12 # detail is <no object> +WE_EXTERN = 13 # detail is <no object> +WE_KEY = 14 # detail is ??? +WE_LOST_SEL = 15 # detail is selection number +WE_CLOSE = 16 # detail is <no object> # Values for detail when type is WE_COMMAND: @@ -34,3 +38,9 @@ WC_CANCEL = 6 # not reported -- turned into KeyboardInterrupt WC_BACKSPACE = 7 # backspace key WC_TAB = 8 # tab key WC_RETURN = 9 # return or enter key + +# Selection numbers + +WS_CLIPBOARD = 0 +WS_PRIMARY = 1 +WS_SECONDARY = 2 |