 |
DECwindows Motif for OpenVMS Guide to Non-C
Bindings
CHECK TYPED WINDOW EVENT
OpenVMS Format
present_return = X$CHECK_TYPED_WINDOW_EVENT
(display, window_id, event_type, event_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
present_return
|
Boolean
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
event_type
|
longword
|
longword
|
read
|
reference
|
event_return
|
record
|
x$event
|
write
|
reference
|
CHECK WINDOW EVENT
OpenVMS Format
present_return = X$CHECK_WINDOW_EVENT
(display, window_id, event_mask, event_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
present_return
|
Boolean
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
event_mask
|
mask_longword
|
uns longword
|
read
|
reference
|
event_return
|
record
|
x$event
|
write
|
reference
|
CIRCULATE SUBWINDOWS
OpenVMS Format
X$CIRCULATE_SUBWINDOWS
(display, window_id, direction)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
direction
|
longword
|
longword
|
read
|
reference
|
Arguments
direction
The direction in which you want to circulate the window. Valid values
are listed as follows:
X$C_RAISE_LOWEST
X$C_LOWER_HIGHEST
CIRCULATE SUBWINDOWS DOWN
OpenVMS Format
X$CIRCULATE_SUBWINDOWS_DOWN
(display, window_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
CIRCULATE SUBWINDOWS UP
OpenVMS Format
X$CIRCULATE_SUBWINDOWS_UP
(display, window_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
CLEAR AREA
OpenVMS Format
X$CLEAR_AREA
(display, window_id, x_coord, y_coord, width, height, exposures)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
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
|
exposures
|
Boolean
|
uns longword
|
read
|
reference
|
CLEAR WINDOW
OpenVMS Format
X$CLEAR_WINDOW
(display, window_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
CLIP BOX
OpenVMS Format
X$CLIP_BOX
(region_id, rectangle_struc_return)
Argument Information
Argument |
usage |
Data Type |
Access |
Mechanism |
region_id
|
identifier
|
uns longword
|
read
|
reference
|
rectangle_struc_return
|
record
|
x$rectangle
|
write
|
reference
|
CLOSE DISPLAY
OpenVMS Format
X$CLOSE_DISPLAY
(display)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
CONFIGURE WINDOW
OpenVMS Format
X$CONFIGURE_WINDOW
(display, window_id, change_mask, values)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
change_mask
|
uns longword
|
uns longword
|
read
|
reference
|
values
|
record
|
x$window_changes
|
read
|
reference
|
Arguments
change_mask
A bit mask that specifies the values that are to be set using the
information in the data structure to which the values
argument points.
Table 2-2 lists each bit for the change_mask
argument, its predefined value, and its description.
Table 2-2 Change Mask Bits
Bit |
Predefined Value |
Description |
0
|
X$C_CW_X
|
Change x-coordinate
|
1
|
X$C_CW_Y
|
Change y-coordinate
|
2
|
X$C_CW_WIDTH
|
Change width
|
3
|
X$C_CW_HEIGHT
|
Change height
|
4
|
X$C_CW_BORDER_WIDTH
|
Change border width
|
5
|
X$C_CW_SIBLING
|
Change sibling
|
6
|
X$C_CW_STACK_MODE
|
Change stack mode
|
7
|
NONE
|
Reserved
|
8
|
NONE
|
Reserved
|
CONNECTION NUMBER
OpenVMS Format
int = X$CONNECTION_NUMBER
(display)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
int
|
longword
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
Note
CONNECTION NUMBER returns an integer that identifies the connection.
This routine is defined to be operating system specific by MIT, and
there is no direct analogue to the UNIX file descriptor in OpenVMS.
|
CONVERT SELECTION
OpenVMS Format
X$CONVERT_SELECTION
(display, selection_id, target_id, property_id, requestor_id, time)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
selection_id
|
identifier
|
uns longword
|
read
|
reference
|
target_id
|
identifier
|
uns longword
|
read
|
reference
|
property_id
|
identifier
|
uns longword
|
read
|
reference
|
requestor_id
|
identifier
|
uns longword
|
read
|
reference
|
time
|
longword
|
uns longword
|
read
|
reference
|
COPY AREA
OpenVMS Format
X$COPY_AREA
(display, src_drawable_id, dst_drawable_id, gc_id, src_x_coord,
src_y_coord, width, height, dst_x_coord, dst_y_coord)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
src_drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
dst_drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
src_x_coord
|
longword
|
longword
|
read
|
reference
|
src_y_coord
|
longword
|
longword
|
read
|
reference
|
width
|
longword
|
uns longword
|
read
|
reference
|
height
|
longword
|
uns longword
|
read
|
reference
|
dst_x_coord
|
longword
|
longword
|
read
|
reference
|
dst_y_coord
|
longword
|
longword
|
read
|
reference
|
COPY COLORMAP AND FREE
OpenVMS Format
colormap_id_return = X$COPY_COLORMAP_AND_FREE
(display, colormap_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
colormap_id_return
|
identifier
|
uns longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
colormap_id
|
identifier
|
uns longword
|
read
|
reference
|
COPY GC
OpenVMS Format
X$COPY_GC
(display, src_gc_id, gc_mask, dst_gc_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
src_gc_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_mask
|
mask_longword
|
uns longword
|
read
|
reference
|
dst_gc_id
|
identifier
|
uns longword
|
read
|
reference
|
COPY PLANE
OpenVMS Format
X$COPY_PLANE
(display, src_drawable_id, dst_drawable_id, gc_id, src_x_coord,
src_y_coord, width, height, dst_x_coord, dst_y_coord, plane)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
src_drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
dst_drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
src_x_coord
|
longword
|
longword
|
read
|
reference
|
src_y_coord
|
longword
|
longword
|
read
|
reference
|
width
|
longword
|
uns longword
|
read
|
reference
|
height
|
longword
|
uns longword
|
read
|
reference
|
dst_x_coord
|
longword
|
longword
|
read
|
reference
|
dst_y_coord
|
longword
|
longword
|
read
|
reference
|
plane
|
mask_longword
|
uns longword
|
read
|
reference
|
|