changeset 111 | b055add74b18 |
110:cf3d49cdd6e2 | 111:b055add74b18 |
---|---|
1 #!/usr/bin/env python3 |
|
2 |
|
3 import sys |
|
4 sys.path.append('..') |
|
5 |
|
6 from tuikit.core.events import KeypressEvent |
|
7 |
|
8 x = KeypressEvent('tab', '\t', set(['shift', 'ctrl'])) |
|
9 print(repr(x)) |
|
10 print(x.mod_key()) |
|
11 |
|
12 x = KeypressEvent(None, 'c', set(['shift', 'ctrl'])) |
|
13 print(x.mod_key()) |