Main Page   Modules   Compound List   File List   Compound Members   File Members  

XKB configuration activation


Functions

Bool XklConfigActivate (const XklConfigRecPtr data, XkbDescModifierFunc fun, void *userData)
int XklSetKeyAsSwitcher (XkbDescPtr kbd, void *userData)
Bool XklConfigGetFromServer (XklConfigRecPtr data)
Bool XklConfigGetFromBackup (XklConfigRecPtr data)
Bool XklConfigWriteXKMFile (const char *fileName, const XklConfigRecPtr data, XkbDescModifierFunc fun, void *userData)

Function Documentation

Bool XklConfigActivate const XklConfigRecPtr    data,
XkbDescModifierFunc    fun,
void *    userData
 

Activates some XKB configuration

Parameters:
data  is a valid XKB configuration
fun  is a callback function for modifying the XKB keyboard description. Can be NULL
userData  is a data to pass to the callback
Returns:
True on success
See also:
XklSetKeyAsSwitcher At the moment, accepts only _ONE_ layout. Later probably I'll improve this..

Bool XklConfigGetFromBackup XklConfigRecPtr    data
 

Loads the current XKB configuration (from backup)

Parameters:
data  is a buffer for XKB configuration
Returns:
True on success
See also:
XklBackupNamesProp

Bool XklConfigGetFromServer XklConfigRecPtr    data
 

Loads the current XKB configuration (from X server)

Parameters:
data  is a buffer for XKB configuration
Returns:
True on success

Bool XklConfigWriteXKMFile const char *    fileName,
const XklConfigRecPtr    data,
XkbDescModifierFunc    fun,
void *    userData
 

Writes some XKB configuration into XKM file

Parameters:
fileName  is a name of the file to create
data  is a valid XKB configuration
fun  is a callback function for modifying the XKB keyboard description. Can be NULL
userData  is a data to pass to the callback
Returns:
True on success At the moment, accepts only _ONE_ layout. Later probably I'll improve this..

int XklSetKeyAsSwitcher XkbDescPtr    kbd,
void *    userData
 

One of possible XkbDescModifierFunc Handy for setting one key as a group switcher

Parameters:
kbd  is the keyboard to modify
userData  is a keysym to make a group switcher


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