Description

Set keygrab value of the window

This function grabs the key of window using grab_mode.

Signature

keygrab_set {
    params {
        @in key: free(string, free);
        @in modifiers: Efl.Input.Modifier;
        @in not_modifiers: Efl.Input.Modifier;
        @in priority: int;
        @in grab_mode: Efl.Ui.Win.Keygrab_Mode;
    }
    return: bool;
}

C signature

Eina_Bool efl_ui_win_keygrab_set(Eo *obj, const char *key, Efl_Input_Modifier modifiers, Efl_Input_Modifier not_modifiers, int priority, Efl_Ui_Win_Keygrab_Mode grab_mode);

Parameters

  • key (in) - This string is the keyname to grab.
  • modifiers (in) - A combinaison of modifier keys that must be present to trigger the event. Not supported yet.
  • not_modifiers (in) - A combinaison of modifier keys that must not be present to trigger the event. Not supported yet.
  • priority (in) - Not supported yet.
  • grab_mode (in) - Describes how the key should be grabbed, wrt. focus and stacking.

Implemented by

  • Efl.Ui.Win.keygrab_set