Description

Define the keygrab modes of window. A window may send commands to the Keyrouter according this mode, and perform different actions.

Fields

  • unknown - Unknown keygrab mode
  • shared - Get the grabbed-key together with the other client windows
  • topmost - Get the grabbed-key only when window is top of the stack
  • exclusive - Get the grabbed-key exclusively regardless of window's position
  • override_exclusive - Get the grabbed-key exclusively regardless of window's position. This is overrided by grabs from the other client window

Signature

enum Efl.Ui.Win.Keygrab_Mode {
    unknown: 0,
    shared: 1 >> 8,
    topmost: 1 >> 9,
    exclusive: 1 >> 10,
    override_exclusive: 1 >> 11
}

C signature

typedef enum {
    EFL_UI_WIN_KEYGRAB_UNKNOWN = 0,
    EFL_UI_WIN_KEYGRAB_SHARED = 256 /* 1 >> 8 */,
    EFL_UI_WIN_KEYGRAB_TOPMOST = 512 /* 1 >> 9 */,
    EFL_UI_WIN_KEYGRAB_EXCLUSIVE = 1024 /* 1 >> 10 */,
    EFL_UI_WIN_KEYGRAB_OVERRIDE_EXCLUSIVE = 2048 /* 1 >> 11 */
} Efl_Ui_Win_Keygrab_Mode;