Main Page   Modules   Compound List   File List   Compound Members   File Members  

Saving and restoring XKB configuration into X root window properties


Functions

Bool XklGetNamesProp (const char propName[], char **rulesFileOut, XklConfigRecPtr configOut)
Bool XklSetNamesProp (const char propName[], char *rulesFile, XklConfigRecPtr config)
Bool XklBackupNamesProp ()
Bool XklRestoreNamesProp ()

Detailed Description

Generalizes XkbRF_GetNamesProp and XkbRF_SetNamesProp.

Function Documentation

Bool XklBackupNamesProp  
 

Backups current XKB configuration into some property - if this property is not defined yet.

Returns:
True on success

Bool XklGetNamesProp const char    propName[],
char **    rulesFileOut,
XklConfigRecPtr    configOut
 

Gets the XKB configuration from any root window property

Parameters:
propName  is a property to read
rulesFileOut  is a pointer to hold the file name
configOut  is a buffer to hold the result - all records are allocated using standard malloc
Returns:
True on success

Bool XklRestoreNamesProp  
 

Restores XKB from the property saved by XklBackupNamesProp

Returns:
True on success
See also:
XklBackupNamesProp

Bool XklSetNamesProp const char    propName[],
char *    rulesFile,
XklConfigRecPtr    config
 

Saves the XKB configuration into any root window property

Parameters:
propName  is a property to update
rulesFile  is a rules file name
config  is a configuration to save
Returns:
True on success


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