Class GKeyEvent

GEvent
  extended by GKeyEvent

This class maintains the data for a key event.


Method Summary
get_key()
Returns the character that triggered the key event.
 
Inherited Method Summary
get_source()
Returns the source of this event.
 

 

Method Detail

get_key()

Returns the character that triggered the event. The return value will be a single-character string for normal keys and the name of the key enclosed in angle brackets for special keys like <RETURN>.
Usage: key = e.get_key() 
Returns: The character that triggered this event