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)
void XklAllowOneSwitchToSecondaryGroup (void)

Function Documentation

void XklAllowOneSwitchToSecondaryGroup (  void    ) 
 

Allows to switch (once) to the secondary group

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 if the event it processed - 1 otherwise
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


Generated on Fri Jan 31 16:52:10 2003 for libxklavier by doxygen1.2.18