Typedefs | |
| typedef void(*) | XklConfigCallback (void *userData) |
| typedef int(*) | 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 void( *) XklConfigCallback(void *userData) |
Used for notifying application of the XKB configuration change.
| userData | is anything which can be stored into the pointer |
| typedef void( *) XklStateCallback(XklStateChange changeType, int group, Bool restore, void *userData) |
Used for notifying application of the window state change.
| 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 |
| typedef int( *) XklWinCallback(Window win, Window parent, void *userData) |
Used for notifying application of new window creation (actually, registration).
| win | is a new window | |
| parent | is a new window's parent | |
| userData | is anything which can be stored into the pointer |
| int XklRegisterConfigCallback | ( | XklConfigCallback | fun, | |
| void * | userData | |||
| ) |
Registers user callback. Only one callback can be registered at a time
| fun | is the function to call | |
| userData | is the data to pass |
| int XklRegisterStateCallback | ( | XklStateCallback | fun, | |
| void * | userData | |||
| ) |
Registers user callback. Only one callback can be registered at a time
| fun | is the function to call | |
| userData | is the data to pass |
| int XklRegisterWindowCallback | ( | XklWinCallback | fun, | |
| void * | userData | |||
| ) |
Registers user callback. Only one callback can be registered at a time
| fun | is the function to call | |
| userData | is the data to pass |
1.5.1