Section: Visualization Toolkit Widget Classes
To create an instance of class vtkEvent, simply invoke its constructor as follows
obj = vtkEvent
obj is an instance of the vtkEvent class.
string = obj.GetClassName () - Standard macros.
int = obj.IsA (string name) - Standard macros.
vtkEvent = obj.NewInstance () - Standard macros.
vtkEvent = obj.SafeDownCast (vtkObject o) - Standard macros.
obj.SetEventId (long ) - Set the modifier for the event.
long = obj.GetEventId () - Set the modifier for the event.
obj.SetModifier (int ) - Set the modifier for the event.
int = obj.GetModifier () - Set the modifier for the event.
obj.SetKeyCode (char ) - Set the KeyCode for the event.
char = obj.GetKeyCode () - Set the KeyCode for the event.
obj.SetRepeatCount (int ) - Set the repease count for the event.
int = obj.GetRepeatCount () - Set the repease count for the event.
obj.SetKeySym (string ) - Set the complex key symbol (compound key strokes) for the event.
string = obj.GetKeySym () - Set the complex key symbol (compound key strokes) for the event.