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