Main Page   Modules   Compound List   File List   Compound Members   File Members  

Application callbacks support


Typedefs

typedef void(* XklConfigCallback )(void *userData)
typedef void(* XklWinCallback )(Window win, Window parent, void *userData)
typedef void(* XklStateCallback )(XklStateChange changeType, int group, Bool restore, void *userData)

Functions

int XklRegisterConfigCallback (XklConfigCallback fun, void *userData)
int XklRegisterWindowCallback (XklWinCallback fun, void *userData)
int XklRegisterStateCallback (XklStateCallback fun, void *userData)

Typedef Documentation

typedef void( * XklConfigCallback)( void *userData )
 

Used for notifying application of the XKB configuration change.

Parameters:
userData  is anything which can be stored into the pointer
See also:
XklRegisterConfigCallback

typedef void( * XklStateCallback)( XklStateChange changeType, int group, Bool restore, void *userData )
 

Used for notifying application of the window state change.

Parameters:
changeType  is a mask of changes
group  is a new group
restore  is indicator of whether this state is restored from saved state of set as new.
userData  is anything which can be stored into the pointer
See also:
XklRegisterConfigCallback

typedef void( * XklWinCallback)( Window win, Window parent, void *userData )
 

Used for notifying application of new window creation (actually, registration).

Parameters:
win  is a new window
parent  is a new window's parent
userData  is anything which can be stored into the pointer
See also:
XklRegisterConfigCallback


Function Documentation

int XklRegisterConfigCallback XklConfigCallback    fun,
void *    userData
 

Registers user callback. Only one callback can be registered at a time

Parameters:
fun  is the function to call
userData  is the data to pass
See also:
XklConfigCallback

int XklRegisterStateCallback XklStateCallback    fun,
void *    userData
 

Registers user callback. Only one callback can be registered at a time

Parameters:
fun  is the function to call
userData  is the data to pass
See also:
XklStateCallback

int XklRegisterWindowCallback XklWinCallback    fun,
void *    userData
 

Registers user callback. Only one callback can be registered at a time

Parameters:
fun  is the function to call
userData  is the data to pass
See also:
XklWindowCallback


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