|
10 | 10 | # Values for type:
|
11 | 11 |
|
12 | 12 | WE_NULL = 0 # not reported -- means 'no event' internally
|
13 |
| -WE_ACTIVATE = 1 # detail is <no object> |
| 13 | +WE_ACTIVATE = 1 # detail is None |
14 | 14 | WE_CHAR = 2 # detail is the character
|
15 | 15 | WE_COMMAND = 3 # detail is one of the WC_* constants below
|
16 | 16 | WE_MOUSE_DOWN = 4 # detail is ((h, v), clicks, button, mask)
|
17 | 17 | WE_MOUSE_MOVE = 5 # ditto
|
18 | 18 | WE_MOUSE_UP = 6 # ditto
|
19 | 19 | WE_MENU = 7 # detail is (menu, item)
|
20 |
| -WE_SIZE = 8 # detail is (width, height) [???] |
| 20 | +WE_SIZE = 8 # detail is (width, height) |
21 | 21 | WE_MOVE = 9 # not reported -- reserved for future use
|
22 | 22 | WE_DRAW = 10 # detail is ((left, top), (right, bottom))
|
23 |
| -WE_TIMER = 11 # detail is <no object> |
24 |
| -WE_DEACTIVATE = 12 # detail is <no object> |
25 |
| -WE_EXTERN = 13 # detail is <no object> |
| 23 | +WE_TIMER = 11 # detail is None |
| 24 | +WE_DEACTIVATE = 12 # detail is None |
| 25 | +WE_EXTERN = 13 # detail is None |
26 | 26 | WE_KEY = 14 # detail is ???
|
27 | 27 | WE_LOST_SEL = 15 # detail is selection number
|
28 |
| -WE_CLOSE = 16 # detail is <no object> |
| 28 | +WE_CLOSE = 16 # detail is None |
29 | 29 |
|
30 | 30 | # Values for detail when type is WE_COMMAND:
|
31 | 31 |
|
32 |
| -WC_CLOSE = 1 # user hit close box |
| 32 | +WC_CLOSE = 1 # obsolete; now reported as WE_CLOSE |
33 | 33 | WC_LEFT = 2 # left arrow key
|
34 | 34 | WC_RIGHT = 3 # right arrow key
|
35 | 35 | WC_UP = 4 # up arrow key
|
|
0 commit comments