Per-window information


Functions

unsigned char * XklGetWindowTitle (Window w)
Bool XklGetState (Window win, XklState *state_return)
void XklDelState (Window win)
void XklSaveState (Window win, XklState *state)
void XklSetTransparent (Window win, Bool transparent)
Bool XklIsTransparent (Window win)
Bool XklIsSameApp (Window win1, Window win2)

Function Documentation

void XklDelState ( Window  win  ) 

Drops the state of a given window (of its "App window").

Parameters:
win is a target window

Bool XklGetState ( Window  win,
XklState state_return 
)

Finds the state for a given window (for its "App window").

Parameters:
win is a target window
state_return is a structure to store the state
Returns:
True on success, otherwise False (the error message can be obtained using XklGetLastError).

unsigned char* XklGetWindowTitle ( Window  w  ) 

Returns:
the window title of some window or NULL. If not NULL, it should be freed with XFree

Bool XklIsSameApp ( Window  win1,
Window  win2 
)

Checks whether 2 windows have the same App Window

Parameters:
win1 is first window
win2 is second window
Returns:
True is windows are in the same application

Bool XklIsTransparent ( Window  win  ) 

Returns "transparent" flag.

Parameters:
win is the window to get the transparent flag from.
See also:
XklSetTranspatent

void XklSaveState ( Window  win,
XklState state 
)

Stores ths state for a given window

Parameters:
win is a target window
state is a new state of the window

void XklSetTransparent ( Window  win,
Bool  transparent 
)

Sets the "transparent" flag. It means focus switching onto this window will never change the state.

Parameters:
win is the window do set the flag for.
transparent - if true, the windows is transparent.
See also:
XklIsTranspatent


Generated on Thu Feb 22 20:41:11 2007 for libxklavier by  doxygen 1.5.1