Synopsis
Usage
x_set_window_name (String_Type name)
Description
See also
Synopsis
Usage
x_set_icon_name (String_Type name)
Description
See also
Synopsis
Usage
Description
See also
Synopsis
Usage
Int_Type x_insert_cutbuffer ()
Description
Inserts cutbuffer into the current buffer and returns the number
of characters inserted.
See also
Synopsis
Usage
x_copy_region_to_cutbuffer ()
Description
See also
Synopsis
Int_Type x_insert_selection
Usage
Description
This function only requests selection data from the selection owner.
If Xjed received EVENT, Xjed inserts selection data into the current buffer
and returns the number of characters inserted.
See also
Synopsis
Usage
x_copy_region_to_selection ()
Description
See also
Synopsis
Usage
x_set_keysym (Int_Type keysym, Int_Type shift, String_Type str)
Description
This function may be used to assocate a string
str with a key
keysym modified by mask
shift . Pressing the key
associated with
keysym will then generate the keysequence
given by
str . The function keys are mapped to integers in the
range
0xFF00 to
0xFFFF . On most systems, the keys that
these mappings refer to are located in the file
/usr/include/X11/keysymdef.h . For example, on my system, the
keysyms for the function keys
XK_F1 to
XK_F35 fall in
the range
0xFFBE to
0xFFE0 . So to make the
F1
key correspond to the string given by the two characters
Ctrl-X Ctrl-C , simply use:
x_set_keysym (0xFFBE, 0, "^X^C");
The
shift argument is an integer with the
following meanings:
0 : unmodified key
'$' : shifted
'^' : control
Any other value for shift will default to 0 (unshifted).
See also
Synopsis
Usage
String_Type x_server_vendor ()
Description
This function returns the vendor name of the X server.
See also
Synopsis
Define meta keys
Usage
x_set_meta_keys (Int_Type mod_mask)
Description
The
x_set_meta_keys function allows the user to specify which
modifier keys are to be interpreteted as meta keys. The parameter
mod_mask is a bitmapped value whose bits correspond to a
modifier mask:
0: Mod1Mask
1: Mod2Mask
2: Mod3Mask
3: Mod4Mask
4: Mod5Mask
Example
x_set_meta_keys ((1<<0) | (1<<3));
specifies that meta keys are to be associated with Mod1Mask and
Mod4Mask.
See also