Synthesizes a keyboard event (as if a hardware keyboard event occurred in the current UI context).
keyval |
a int indicating the keycode or keysym or modifier mask of the key event being synthesized. |
keystring |
an (optional) UTF-8 string which, if |
synth_type |
an KeySynthType flag indicating whether |
true if successful, otherwise false. |