 |
DECwindows Motif for OpenVMS Guide to Non-C
Bindings
SERVER VENDOR
OpenVMS Format
X$SERVER_VENDOR
(display, vendor_name_return, [len_return])
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
vendor_name_return
|
char_string
|
character string
|
write
|
descriptor
|
len_return
|
word
|
uns word
|
write
|
reference
|
Arguments
vendor_name_return
The name of the string that identifies the owner of the X server
implementation. The vendor_name_return argument is the
address of a character string descriptor that points to the string.
len_return
The length of the returned string. This argument is optional.
SET ACCESS CONTROL
OpenVMS Format
X$SET_ACCESS_CONTROL
(display, access_mode)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
access_mode
|
longword
|
longword
|
read
|
reference
|
Arguments
access_mode
Specifies whether you want to change the access control mode. The
predefined values for access_mode are as follows:
X$C_ENABLE_ACCESS
X$C_DISABLE_ACCESS
SET AFTER FUNCTION
OpenVMS Format
X$SET_AFTER_FUNCTION
(display, func_addr, [prev_func_addr_return])
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
func_addr
|
procedure
|
proc entry mask
|
read
|
reference
|
prev_func_addr_return
|
procedure
|
proc entry mask
|
write
|
reference
|
Arguments
prev_func_addr_return
The previous synchronization routine is returned.
SET ARC MODE
OpenVMS Format
X$SET_ARC_MODE
(display, gc_id, arc_mode)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
arc_mode
|
longword
|
longword
|
read
|
reference
|
Arguments
arc_mode
Specifies how an arc will be filled in a subsequent graphics request.
The predefined values for arc_mode are as follows:
Value |
Description |
X$C_ARC_CHORD
|
Only the chord area of the arc is filled.
|
X$C_ARC_PIE_SLICE
|
The triangular area defined by the arc center and the arc endpoints is
filled.
|
Other values specified in this argument are not valid.
SET BACKGROUND
OpenVMS
X$SET_BACKGROUND
(display, gc_id, background)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
background
|
uns longword
|
uns longword
|
read
|
reference
|
SET CLASS HINT
OpenVMS Format
X$SET_CLASS_HINT
(display, window_id, class_hints_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
class_hints_return
|
record
|
x$class_hint
|
write
|
reference
|
SET CLIP MASK
OpenVMS Format
X$SET_CLIP_MASK
(display, gc_id, pixmap_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
pixmap_id
|
identifier
|
uns longword
|
read
|
reference
|
SET CLIP ORIGIN
OpenVMS Format
X$SET_CLIP_ORIGIN
(display, gc_id, clip_x_coord, clip_y_coord)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
clip_x_coord
|
longword
|
longword
|
read
|
reference
|
clip_y_coord
|
longword
|
longword
|
read
|
reference
|
SET CLIP RECTANGLES
OpenVMS Format
X$SET_CLIP_RECTANGLES
(display, gc_id, clip_x_coord, clip_y_coord, rectangles,
num_rectangles, ordering)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
clip_x_coord
|
longword
|
longword
|
read
|
reference
|
clip_y_coord
|
longword
|
longword
|
read
|
reference
|
rectangles
|
record
|
x$rectangle
|
read
|
reference
|
num_rectangles
|
longword
|
longword
|
read
|
reference
|
ordering
|
longword
|
longword
|
read
|
reference
|
Arguments
ordering
Specifies the ordering relationship of the clip rectangles.
The predefined values for ordering are as follows:
X$C_UN_SORTED
X$C_Y_SORTED
X$C_Y_X_SORTED
X$C_Y_X_BANDED
Other values specified in this argument are not valid.
SET CLOSE DOWN MODE
OpenVMS Format
X$SET_CLOSE_DOWN_MODE
(display, close_mode)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
close_mode
|
longword
|
longword
|
read
|
reference
|
Arguments
close_mode
The close-down mode for the client's resources. The predefined values
for close_mode are as follows:
Value |
Description |
X$C_DESTROY_ALL
|
All client resources are freed.
|
X$C_RETAIN_PERMANENT
|
All client resources are marked as permanent.
|
X$C_RETAIN_TEMPORARY
|
All client resources are marked as temporary.
|
SET COMMAND
OpenVMS Format
X$SET_COMMAND
(display, window_id, command, num_args)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
command
|
char_string
|
character string
|
read
|
descriptor
|
num_args
|
longword
|
longword
|
read
|
reference
|
SET DASHES
OpenVMS Format
X$SET_DASHES
(display, gc_id, dash_offset, dash_list, dash_list_len)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
dash_offset
|
longword
|
longword
|
read
|
reference
|
dash_list
|
byte
|
byte
|
read
|
reference
|
dash_list_len
|
longword
|
longword
|
read
|
reference
|
SET ERROR HANDLER
OpenVMS Format
prev_handler_return = X$SET_ERROR_HANDLER
(handler)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
prev_handler_return
|
procedure
|
proc entry mask
|
write
|
reference
|
handler
|
procedure
|
proc entry mask
|
read
|
reference
|
Arguments
handler
A user-written routine that handles nonfatal errors. The
handler argument is the address of the entry mask for
the routine. The routine returns an integer value. SET ERROR HANDLER
passes the following arguments to the routine:
Argument |
Decscription |
display
|
Pointer to the display structure associated with the display.
|
error_event
|
Pointer to the error event. The error must be of type X$ERROR_EVENT.
|
SET FILL RULE
OpenVMS Format
X$SET_FILL_RULE
(display, gc_id, fill_rule)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
fill_rule
|
longword
|
longword
|
read
|
reference
|
Arguments
fill_rule
The fill rule that you want to set for the specified graphics context.
The fill rule specifies which pixels are considered to be inside of a
polygon for a FILL POLYGON routine. Those inside the polygon are then
displayed, creating the fill. There are two predefined values:
X$C_EVEN_ODD_RULE
X$C_WINDING_RULE
SET FILL STYLE
OpenVMS Format
X$SET_FILL_STYLE
(display, gc_id, fill_style)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
fill_style
|
longword
|
longword
|
read
|
reference
|
Arguments
fill_style
The fill style for the space within the bounding box of a line, the
even dash of an On Off Dash or Double Dash line, for an odd dash of a
Double Dash line, for text lines, and for all fill requests. The
predefined values for fill_style are as follows:
X$C_FILL_SOLID
X$C_FILL_TILED
X$C_FILL_OPAQUE_STIPPLED
X$C_FILL_STIPPLED
Other values specified in this argument are not valid.
SET FONT
OpenVMS Format
X$SET_FONT
(display, gc_id, font_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
font_id
|
identifier
|
uns longword
|
read
|
reference
|
SET FONT PATH
OpenVMS Format
X$SET_FONT_PATH
(display, directory_names)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
directory_names
|
char_string
|
character string
|
read
|
descriptor
|
SET FOREGROUND
OpenVMS Format
X$SET_FOREGROUND
(display, gc_id, foreground)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
foreground
|
uns longword
|
uns longword
|
read
|
reference
|
|