event_new_key_press


Description:

[ Version ( since = "1.22" ) ]
public static Event event_new_key_press (string key, NavigationModifierType state)

Create a new navigation event for the given key press.

Parameters:

key

A string identifying the key press.

state

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns:

a new Event