i would like to detect every alphanumeric character. this code sets an event handler (onLetterPress) for each alpha character.
for n in range(0, 26): c = '%c' % (ord('a') + n) self.accept(c + '-up', self.onLetterPress)
but inside onLetterPress, how can i detect which key was pressed? something like ‘get last event’ which might hold the keyboard character?