generate_keyboard_event
Description:
public bool generate_keyboard_event (long keyval, string? keystring, KeySynthType synth_type) throws Error
Synthesizes a keyboard event (as if a hardware keyboard event occurred in the current UI context).
Parameters:
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 |
Returns:
true if successful, otherwise false. |