 |
DECwindows Motif for OpenVMS Guide to Non-C
Bindings
SET SIZE HINTS
OpenVMS Format
X$SET_SIZE_HINTS
(display, window_id, hints_return, property)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
hints_return
|
record
|
x$size_hints
|
write
|
reference
|
property
|
identifier
|
uns longword
|
read
|
reference
|
SET STANDARD COLORMAP
OpenVMS Format
X$SET_STANDARD_COLORMAP
(display, window_id, standard_colormap, property_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
standard_colormap
|
record
|
x$standard_colormap
|
read
|
reference
|
property_id
|
identifier
|
uns longword
|
read
|
reference
|
SET STANDARD PROPERTIES
OpenVMS Format
X$SET_STANDARD_PROPERTIES
(display, window_id, [window_name], [icon_name], [icon_pixmap],
[command], [num_args], [hints])
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
window_name
|
char_string
|
character string
|
read
|
descriptor
|
icon_name
|
char_string
|
character string
|
read
|
descriptor
|
icon_pixmap
|
identifier
|
uns longword
|
read
|
reference
|
command
|
char_string
|
character string
|
read
|
descriptor
|
num_args
|
longword
|
longword
|
read
|
reference
|
hints
|
record
|
x$size_hints
|
read
|
reference
|
SET STATE
OpenVMS Format
X$SET_STATE
(display, gc_id, foreground, background, func, plane_mask)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
foreground
|
longword
|
longword
|
read
|
reference
|
background
|
longword
|
longword
|
read
|
reference
|
func
|
longword
|
longword
|
read
|
reference
|
plane_mask
|
mask_longword
|
uns longword
|
read
|
reference
|
Arguments
func
The new value for the function member of the graphics context.
The function member describes how the new destination bits are computed
from the source bits and the old destination bits. Table 2-8 lists
the valid values for func.
Table 2-8 Graphics Context Codes for Function Member
Hex Value |
OpenVMS Function Name |
Operation |
0
|
X$C_GX_CLEAR
|
0
|
1
|
X$C_GX_AND
|
src AND dst
|
2
|
X$C_GX_AND_REVERSE
|
src AND NOT dst
|
3
|
X$C_GX_COPY
|
src
|
4
|
X$C_GX_AND_INVERTED
|
(NOT src) AND dst
|
5
|
X$C_GX_NOOP
|
dst
|
6
|
X$C_GX_XOR
|
src XOR dst
|
7
|
X$C_GX_OR
|
src OR dst
|
8
|
X$C_GX_NOR
|
(NOT src) AND NOT dst
|
9
|
X$C_GX_EQUIV
|
(NOT src) XOR dst
|
A
|
X$C_GX_INVERT
|
NOT dst
|
B
|
X$C_GX_OR_REVERSE
|
src OR NOT dst
|
C
|
X$C_GX_COPY_INVERTED
|
NOT src
|
D
|
X$C_GX_OR_INVERTED
|
(NOT src) OR dst
|
E
|
X$C_GX_NAND
|
(NOT src) OR NOT dst
|
F
|
X$C_GX_SET
|
1
|
SET STIPPLE
OpenVMS Format
X$SET_STIPPLE
(display, gc_id, stipple_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
stipple_id
|
identifier
|
longword
|
read
|
reference
|
SET SUBWINDOW MODE
OpenVMS Format
X$SET_SUBWINDOW_MODE
(display, gc_id, subwindow_mode)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
subwindow_mode
|
longword
|
longword
|
read
|
reference
|
Arguments
subwindow_mode
Specifies whether the source and destination windows are clipped by
subwindows. The predefined values are as follows:
X$C_CLIP_BY_CHILDREN
X$C_INCLUDE_INFERIORS
Other values specified in this argument are not valid.
SET TEXT PROPERTY
OpenVMS Format
X$SET_TEXT_PROPERTY
(display, window_id, text_prop, property_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifer
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
text_prop
|
record
|
$text_property
|
read
|
reference
|
property_id
|
identifier
|
uns longword
|
read
|
reference
|
SET TILE
OpenVMS Format
X$SET_TILE
(display, gc_id, tile_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
tile_id
|
identifier
|
uns longword
|
read
|
reference
|
SET TRANSIENT FOR HINT
OpenVMS Format
X$SET_TRANSIENT_FOR_HINT
(display, window_id, prop_window_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
prop_window_id
|
identifier
|
uns longword
|
read
|
reference
|
SET TS ORIGIN
OpenVMS Format
X$SET_TS_ORIGIN
(display, gc_id, ts_x_coord, ts_y_coord)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
ts_x_coord
|
longword
|
longword
|
read
|
reference
|
ts_y_coord
|
longword
|
longword
|
read
|
reference
|
SET WINDOW BACKGROUND
OpenVMS Format
X$SET_WINDOW_BACKGROUND
(display, window_id, pixel)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
pixel
|
uns longword
|
uns longword
|
read
|
reference
|
SET WINDOW BACKGROUND PIXMAP
OpenVMS Format
X$SET_WINDOW_BACKGROUND_PIXMAP
(display, window_id, background_pixmap_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
background_pixmap_id
|
identifier
|
uns longword
|
read
|
reference
|
SET WINDOW BORDER
OpenVMS Format
X$SET_WINDOW_BORDER
(display, window_id, pixel)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
pixel
|
uns longword
|
uns longword
|
read
|
reference
|
SET WINDOW BORDER PIXMAP
OpenVMS Format
X$SET_WINDOW_BORDER_PIXMAP
(display, window_id, border_pixmap_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
border_pixmap_id
|
identifier
|
uns longword
|
read
|
reference
|
SET WINDOW BORDER WIDTH
OpenVMS Format
X$SET_WINDOW_BORDER_WIDTH
(display, window_id, width)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
width
|
uns longword
|
uns longword
|
read
|
reference
|
SET WINDOW COLORMAP
OpenVMS Format
X$SET_WINDOW_COLORMAP
(display, window_id, colormap_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
colormap_id
|
identifier
|
uns longword
|
read
|
reference
|
SET WM CLIENT MACHINE
OpenVMS Format
X$SET_CLIENT_MACHINE
(display, window_id, text_prop)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
text_prop
|
record
|
x$text_property
|
read
|
reference
|
|