Previous | Contents | Index |
keysym_return = X$STRING_TO_KEYSYMArgument Information(keysym_name)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
keysym_return | identifier | uns longword | write | value |
keysym_name | char_string | character string | read | descriptor |
X$SUB_IMAGEArgument Information(ximage, x_coord, y_coord, width, height, sub_image_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
ximage | record | x$image | read | reference |
x_coord | longword | longword | read | reference |
y_coord | longword | longword | read | reference |
width | longword | uns longword | read | reference |
height | longword | uns longword | read | reference |
sub_image_return | record | x$image | write | reference |
X$SUBTRACT_REGIONArgument Information(src_region1_id, src_region2_id, dst_region_id_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
src_region1_id | identifier | uns longword | read | reference |
src_region2_id | identifier | uns longword | read | reference |
dst_region_id_return | identifier | uns longword | write | reference |
X$SYNCArgument Information(display, discard)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
discard | longword | longword | read | reference |
state_return = X$SYNCHRONIZEArgument Information(display, onoff, after_function_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
state_return | longword | longword | write | value |
display | identifier | uns longword | read | reference |
onoff | longword | longword | read | reference |
after_function_return | procedure | proc entry mask | write | reference |
X$TEXT_EXTENTSArgument Information(font_ptr, string, [direction_return], [ascent_return], [descent_return], [overall_return])
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
font_ptr | record | x$font_struct | read | reference |
string | char_string | character string | read | descriptor |
direction_return | longword | longword | write | reference |
ascent_return | longword | longword | write | reference |
descent_return | longword | longword | write | reference |
overall_return | record | x$char_struct | write | reference |
direction_return
The direction the font is painted on the screen. The direction_return argument is the returned value of the direction element of the font data structure. This argument is optional.ascent_return
The maximum ascent of the font that draws the string. The ascent_return argument is the returned value of the font ascent element of the font data structure. This argument is optional.descent_return
Maximum descent of the font that draws the string. The descent_return argument is the returned value of the font descent element of the font data structure. This argument is optional.overall_return
The minimum left bearing, maximum right bearing, string width, maximum character ascent, and maximum character descent. This argument is optional.
X$TEXT_EXTENTS_16Argument Information(font_ptr, string, num_chars, [direction_return], [ascent_return], [descent_return], [overall_return])
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
font_ptr | record | x$font_struct | read | reference |
string | array | word | read | reference |
num_chars | word | uns word | read | reference |
direction_return | longword | longword | write | reference |
ascent_return | longword | longword | write | reference |
descent_return | longword | longword | write | reference |
overall_return | record | x$char_struct | write | reference |
direction_return
The direction the string is painted on the screen. The direction_return argument is the returned value of the direction element of the font data structure. This argument is optional.ascent_return
Maximum ascent of the font used to draw the string. The ascent_return argument is the returned value of the font ascent element of the font data structure. This argument is optional.descent_return
Maximum descent of the font used to draw the string. The descent_return argument is the returned value of the font descent element of the font data structure. This argument is optional.overall_return
The minimum left bearing, maximum right bearing, string width, maximum character ascent, and maximum character descent of the string. This argument is optional.
status_return = X$TEXT_PROPERTY_TO_STRING_LISTArgument Information(text_prop, list_return, count_return)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
status_return | longword | uns longword | write | value |
text_prop | record | x$text_property | read | reference |
list_return | char_string | character string | write | reference |
count_return | longword | longword | write | reference |
status_return
Specifies whether the routine completed successfully.
Value Description Non-zero Routine completed successfully. 0 Routine did not complete successfully.
width_return = X$TEXT_WIDTHArgument Information(font_ptr, string)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
width_return | longword | uns longword | write | value |
font_ptr | record | x$font_struct | read | reference |
string | char_string | character string | read | descriptor |
width_return = X$TEXT_WIDTH_16Argument Information(font_ptr, string16, count)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
width_return | longword | uns longword | write | value |
font_ptr | record | x$font_struct | read | reference |
string16 | array | word | read | reference |
count | word | uns word | read | reference |
same_screen_return = X$TRANSLATE_COORDINATESArgument Information(display, src_window_id, dst_window_id, src_x_coord, src_y_coord, [dst_x_coord_return], [dst_y_coord_return], [child_id_return])
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
same_screen_return | Boolean | longword | write | value |
display | identifier | uns longword | read | reference |
src_window_id | identifier | uns longword | read | reference |
dst_window_id | identifier | uns longword | read | reference |
src_x_coord | longword | longword | read | reference |
src_y_coord | longword | longword | read | reference |
dst_x_coord_return | longword | longword | write | reference |
dst_y_coord_return | longword | longword | write | reference |
child_id_return | identifier | uns longword | write | reference |
dst_x_coord_return
The x-coordinate of the destination window. TRANSLATE COORDINATES returns the source coordinates relative to the origin of the source window to the dst_x_coord_return and dst_y_coord_return arguments, which are relative to the destination window's origin. This argument is optional.dst_y_coord_return
The y-coordinate of the destination window. TRANSLATE COORDINATES returns the source coordinates relative to the origin of the source window to the dst_x_coord_return and dst_y_coord_return arguments, which are relative to the destination window's origin. This argument is optional.child_id_return
If the destination coordinates are contained in a mapped child of the destination window, the identifier of that child window is returned in child_id_return. This argument is optional.
X$UNDEFINE_CURSORArgument Information(display, window_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
window_id | identifier | uns longword | read | reference |
X$UNGRAB_BUTTONArgument Information(display, button, modifiers, window_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
button | longword | longword | read | reference |
modifiers | mask_longword | uns longword | read | reference |
window_id | identifier | uns longword | read | reference |
button
The button on the pointing device that is no longer grabbed. The possible values are as follows:X$C_BUTTON1
X$C_BUTTON2
X$C_BUTTON3
X$C_BUTTON4
X$C_BUTTON5
X$C_ANY_BUTTONThe predefined value X$C_ANY_BUTTON or AnyButton can be specified to allow any pointer button to be released.
modifiers
A bit mask that specifies the set of key masks associated with the button grab. This mask is the inclusive OR of these key mask bits:
Bit Predefined Value 1 X$M_SHIFT 2 X$M_CAPS_LOCK 3 X$M_CONTROL 4 X$M_MOD1 5 X$M_MOD2 6 X$M_MOD3 7 X$M_MOD4 8 X$M_MOD5 Clients can also pass the X$_ANY_MODIFIER constants, which is equivalent to issuing the ungrab request for all possible modifier combinations (including the combination of no modifiers).
X$UNGRAB_KEYArgument Information(display, keycode, modifiers, window_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
keycode | longword | longword | read | reference |
modifiers | mask_longword | uns longword | read | reference |
window_id | identifier | uns longword | read | reference |
modifiers
A bit mask that specifies the set of key masks associated with the button grab. This mask is the inclusive OR of these key mask bits:
Bit Predefined Value 1 X$M_SHIFT 2 X$M_CAPS_LOCK 3 X$M_CONTROL 4 X$M_MOD1 5 X$M_MOD2 6 X$M_MOD3 7 X$M_MOD4 8 X$M_MOD5 Clients can also pass the X$_ANY_MODIFIER constants, which is equivalent to issuing the ungrab request for all possible modifier combinations (including the combination of no modifiers).
Previous | Next | Contents | Index |