Main Page | Modules | Class List | File List | Class Members | File Members

Library initialization and termination


Functions

int XklInit (Display *dpy)
int XklTerm (void)
const char * XklGetBackendName (void)
int XklGetBackendFeatures (void)
unsigned XklGetMaxNumGroups (void)

Function Documentation

int XklGetBackendFeatures void   ) 
 

Provides information regarding available backend features (combination of XKLF_* constants)

Returns:
ORed XKLF_* constants

const char* XklGetBackendName void   ) 
 

What kind of backend if used

Returns:
some string id of the backend

unsigned XklGetMaxNumGroups void   ) 
 

Provides the information on maximum number of simultaneously supported groups (layouts)

Returns:
maximum number of the groups in configuration, 0 if no restrictions.

int XklInit Display *  dpy  ) 
 

Initializes internal structures. Does not start actual listening though. Some apps can use Xklavier for information retrieval but not for actual processing.

Parameters:
dpy is an open display, will be tested for XKB extension
Returns:
0 if OK, otherwise last X error (special case: -1 if XKB extension is not present)

int XklTerm void   ) 
 

Terminates everything...


Generated on Thu Dec 30 23:19:19 2004 for libxklavier by  doxygen 1.3.9.1