Previous | Contents | Index |
This chapter lists Xlib routines. Some bindings are provided for the Release 5 Xlib routines. See Section 1.1 for information about the format used to describe each routine.
Refer to the corresponding C routines in the X Window System for additional information about the description of each function and a discussion of related background information.
X$ACTIVATE_SCREEN_SAVERArgument Information(display)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
X$ADD_HOSTArgument Information(display, host)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
host | record | x$host_address | read | reference |
X$ADD_HOSTSArgument Information(display, hosts, num_hosts)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
hosts | array | uns longword | read | reference |
num_hosts | longword | uns longword | read | reference |
X$ADD_PIXELArgument Information(ximage, value)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
ximage | record | x$image | read | reference |
value | longword | longword | read | reference |
X$ADD_TO_SAVE_SETArgument Information(display, window_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
window_id | identifier | uns longword | read | reference |
X$ALLOC_CLASS_HINTArgument Information(class_hints_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
class_hints_return | record | x$class_hint | write | reference |
status_return = X$ALLOC_COLORArgument Information(display, colormap_id, screen_in_out)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
status_return | cond_value | uns longword | write | value |
display | identifier | uns longword | read | reference |
colormap_id | identifier | uns longword | read | reference |
screen_in_out | record | x$color | modify | reference |
status_return
ALLOC COLOR returns one of the following values:
Value Description SS$_NORMAL Routine completed successfully. X$_ERRORREPLY Error received from server.
status_return = X$ALLOC_COLOR_CELLSArgument Information(display, colormap_id, contig, plane_masks_return, num_planes, pixels_return, num_colors)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
status_return | cond_value | uns longword | write | value |
display | identifier | uns longword | read | reference |
colormap_id | identifier | uns longword | read | reference |
contig | Boolean | uns longword | read | reference |
plane_masks_return | array | uns longword | write | reference |
num_planes | longword | uns longword | read | reference |
pixels_return | array | uns longword | write | reference |
num_colors | longword | uns longword | read | reference |
status_return
Specifies whether the routine completed successfully. ALLOC COLOR CELLS returns one of the following values:
Value Description SS$_NORMAL Routine completed successfully. X$_ERRORREPLY Error received from server.
The X Protocol defines that only the least significant 16 bits of the following longword arguments are transmitted to the server: num_planes, num_colors. |
status_return = X$ALLOC_COLOR_PLANESArgument Information(display, colormap_id, contig, pixels_return, num_colors, num_reds, num_greens, num_blues, rmask_return, gmask_return, bmask_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
status_return | cond_value | uns longword | write | value |
display | identifier | uns longword | read | reference |
colormap_id | identifier | uns longword | read | reference |
contig | Boolean | uns longword | read | reference |
pixels_return | array | uns longword | write | reference |
num_colors | longword | longword | read | reference |
num_reds | longword | longword | read | reference |
num_greens | longword | longword | read | reference |
num_blues | longword | longword | read | reference |
rmask_return | mask_longword | uns longword | write | reference |
gmask_return | mask_longword | uns longword | write | reference |
bmask_return | mask_longword | uns longword | write | reference |
status_return
Specifies whether the routine completed successfully. ALLOC COLOR PLANES returns one of the following values:
Value Description SS$_NORMAL Routine completed successfully. X$_ERRORREPLY Error received from server.
X$ALLOC_ICON_SIZEArgument Information(icon_size_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
icon_size_return | record | x$icon_size | write | reference |
status_return = X$ALLOC_NAMED_COLORArgument Information(display, colormap_id, color_name, [screen_def_return], [exact_def_return])
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
status_return | longword | longword | write | value |
display | identifier | uns longword | read | reference |
colormap_id | identifier | uns longword | read | reference |
color_name | char_string | character string | read | descriptor |
color_screen_return | record | x$color | write | reference |
color_exact_return | record | x$color | write | reference |
color_screen_return
The color data structure that returns the color definition of the color actually used by the server. The color definition and the color index are returned in the color data structure. This argument is optional.color_exact_return
The color data structure that defines the exact color as specified in the color database. The color definition is returned in the color definition data structure. This argument is optional.
X$ALLOC_SIZE_HINTSArgument Information(size_hints_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
size_hints_return | record | x$size_hints | write | reference |
X$ALLOC_STANDARD_COLORMAPArgument Information(standard_colormap_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
standard_colormap_return | record | x$standard_colormap | write | reference |
X$ALLOW_EVENTSArgument Information(display, event_mode, time)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
event_mode | longword | longword | read | reference |
time | longword | uns longword | read | reference |
event_mode
The events to be released. The predefined values for event_mode are as follows:X$C_ASYNC_POINTER
X$C_SYNC_POINTER
X$C_REPLAY_POINTER
X$C_ASYNC_KEYBOARD
X$C_SYNC_KEYBOARD
X$C_REPLAY_KEYBOARD
X$C_SYNC_BOTH
X$C_ASYNC_BOTH
value_return = X$ALL_PLANESArgument Information
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
value_return | uns longword | uns longword | write | value |
X$AUTO_REPEAT_OFFArgument Information(display)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
X$AUTO_REPEAT_ONArgument Information(display)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
X$BELLArgument Information(display, percent)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
percent | longword | longword | read | reference |
order_return = X$BITMAP_BIT_ORDERArgument Information(display)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
order_return | longword | longword | write | value |
display | identifier | uns longword | read | reference |
order_return
The value of the leftmost bit in the bitmap, as displayed on the screen. Valid values are shown in the following table:
Value Description X$C_LSB_FIRST Least significant bit displayed first. X$C_MSB_FIRST Most significant bit displayed first.
Previous | Next | Contents | Index |