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
c67eecf6
Commit
c67eecf6
authored
Nov 19, 1991
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added improved comments.
parent
3f4f9170
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
Lib/lib-stdwin/stdwinevents.py
Lib/lib-stdwin/stdwinevents.py
+7
-7
Lib/stdwin/stdwinevents.py
Lib/stdwin/stdwinevents.py
+7
-7
No files found.
Lib/lib-stdwin/stdwinevents.py
View file @
c67eecf6
...
@@ -10,26 +10,26 @@
...
@@ -10,26 +10,26 @@
# Values for type:
# Values for type:
WE_NULL
=
0
# not reported -- means 'no event' internally
WE_NULL
=
0
# not reported -- means 'no event' internally
WE_ACTIVATE
=
1
# detail is
<no object>
WE_ACTIVATE
=
1
# detail is
None
WE_CHAR
=
2
# detail is the character
WE_CHAR
=
2
# detail is the character
WE_COMMAND
=
3
# detail is one of the WC_* constants below
WE_COMMAND
=
3
# detail is one of the WC_* constants below
WE_MOUSE_DOWN
=
4
# detail is ((h, v), clicks, button, mask)
WE_MOUSE_DOWN
=
4
# detail is ((h, v), clicks, button, mask)
WE_MOUSE_MOVE
=
5
# ditto
WE_MOUSE_MOVE
=
5
# ditto
WE_MOUSE_UP
=
6
# ditto
WE_MOUSE_UP
=
6
# ditto
WE_MENU
=
7
# detail is (menu, item)
WE_MENU
=
7
# detail is (menu, item)
WE_SIZE
=
8
# detail is (width, height)
[???]
WE_SIZE
=
8
# detail is (width, height)
WE_MOVE
=
9
# not reported -- reserved for future use
WE_MOVE
=
9
# not reported -- reserved for future use
WE_DRAW
=
10
# detail is ((left, top), (right, bottom))
WE_DRAW
=
10
# detail is ((left, top), (right, bottom))
WE_TIMER
=
11
# detail is
<no object>
WE_TIMER
=
11
# detail is
None
WE_DEACTIVATE
=
12
# detail is
<no object>
WE_DEACTIVATE
=
12
# detail is
None
WE_EXTERN
=
13
# detail is
<no object>
WE_EXTERN
=
13
# detail is
None
WE_KEY
=
14
# detail is ???
WE_KEY
=
14
# detail is ???
WE_LOST_SEL
=
15
# detail is selection number
WE_LOST_SEL
=
15
# detail is selection number
WE_CLOSE
=
16
# detail is
<no object>
WE_CLOSE
=
16
# detail is
None
# Values for detail when type is WE_COMMAND:
# Values for detail when type is WE_COMMAND:
WC_CLOSE
=
1
#
user hit close box
WC_CLOSE
=
1
#
obsolete; now reported as WE_CLOSE
WC_LEFT
=
2
# left arrow key
WC_LEFT
=
2
# left arrow key
WC_RIGHT
=
3
# right arrow key
WC_RIGHT
=
3
# right arrow key
WC_UP
=
4
# up arrow key
WC_UP
=
4
# up arrow key
...
...
Lib/stdwin/stdwinevents.py
View file @
c67eecf6
...
@@ -10,26 +10,26 @@
...
@@ -10,26 +10,26 @@
# Values for type:
# Values for type:
WE_NULL
=
0
# not reported -- means 'no event' internally
WE_NULL
=
0
# not reported -- means 'no event' internally
WE_ACTIVATE
=
1
# detail is
<no object>
WE_ACTIVATE
=
1
# detail is
None
WE_CHAR
=
2
# detail is the character
WE_CHAR
=
2
# detail is the character
WE_COMMAND
=
3
# detail is one of the WC_* constants below
WE_COMMAND
=
3
# detail is one of the WC_* constants below
WE_MOUSE_DOWN
=
4
# detail is ((h, v), clicks, button, mask)
WE_MOUSE_DOWN
=
4
# detail is ((h, v), clicks, button, mask)
WE_MOUSE_MOVE
=
5
# ditto
WE_MOUSE_MOVE
=
5
# ditto
WE_MOUSE_UP
=
6
# ditto
WE_MOUSE_UP
=
6
# ditto
WE_MENU
=
7
# detail is (menu, item)
WE_MENU
=
7
# detail is (menu, item)
WE_SIZE
=
8
# detail is (width, height)
[???]
WE_SIZE
=
8
# detail is (width, height)
WE_MOVE
=
9
# not reported -- reserved for future use
WE_MOVE
=
9
# not reported -- reserved for future use
WE_DRAW
=
10
# detail is ((left, top), (right, bottom))
WE_DRAW
=
10
# detail is ((left, top), (right, bottom))
WE_TIMER
=
11
# detail is
<no object>
WE_TIMER
=
11
# detail is
None
WE_DEACTIVATE
=
12
# detail is
<no object>
WE_DEACTIVATE
=
12
# detail is
None
WE_EXTERN
=
13
# detail is
<no object>
WE_EXTERN
=
13
# detail is
None
WE_KEY
=
14
# detail is ???
WE_KEY
=
14
# detail is ???
WE_LOST_SEL
=
15
# detail is selection number
WE_LOST_SEL
=
15
# detail is selection number
WE_CLOSE
=
16
# detail is
<no object>
WE_CLOSE
=
16
# detail is
None
# Values for detail when type is WE_COMMAND:
# Values for detail when type is WE_COMMAND:
WC_CLOSE
=
1
#
user hit close box
WC_CLOSE
=
1
#
obsolete; now reported as WE_CLOSE
WC_LEFT
=
2
# left arrow key
WC_LEFT
=
2
# left arrow key
WC_RIGHT
=
3
# right arrow key
WC_RIGHT
=
3
# right arrow key
WC_UP
=
4
# up arrow key
WC_UP
=
4
# up arrow key
...
...
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