Main Page Modules Compound List File List Compound Members File Members

# XKB event handling and management

## Functions
int | XklStartListen (void)
int | XklStopListen (void)
int | XklPauseListen (void)
int | XklResumeListen (void)
Bool | XklGrabKey (int key, unsigned modifiers)
Bool | XklUngrabKey (int key, unsigned modifiers)
int | XklFilterEvents (XEvent *evt)

## Function Documentation

int XklFilterEvents | ( | XEvent * | evt | ) |

  | Processes X events. Should be included into the main event cycle of an application. One of the most important functions. Parameters:
  evt | is delivered X event
Returns: 0 See also: XklStartListen

Bool XklGrabKey | ( | int | key,
|  | unsigned | modifiers
| ) |

  | Grabs some key Parameters:
  key | is a keysym
  modifiers | is a bitmask of modifiers
Returns: True on success

int XklPauseListen | ( | void |  | ) |

| Temporary pauses listening for XKB-related events Returns: 0

int XklResumeListen | ( | void |  | ) |

| Resumes listening for XKB-related events Returns: 0

int XklStartListen | ( | void |  | ) |

| Starts listening for XKB-related events Returns: 0

int XklStopListen | ( | void |  | ) |

| Stops listening for XKB-related events Returns: 0

Bool XklUngrabKey | ( | int | key,
|  | unsigned | modifiers
| ) |

  | Ungrabs some key Parameters:
  key | is a keysym
  modifiers | is a bitmask of modifiers
Returns: True on success