Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
be5ea233
Commit
be5ea233
authored
Oct 31, 1990
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new event types and selection types.
parent
468c448b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
Lib/lib-stdwin/stdwinevents.py
Lib/lib-stdwin/stdwinevents.py
+10
-0
Lib/stdwin/stdwinevents.py
Lib/stdwin/stdwinevents.py
+10
-0
No files found.
Lib/lib-stdwin/stdwinevents.py
View file @
be5ea233
...
...
@@ -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
Lib/stdwin/stdwinevents.py
View file @
be5ea233
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment