DECwindows Motif for OpenVMS Guide to Non-C Bindings


Previous Contents Index


SET WM COLORMAP WINDOWS


OpenVMS Format

status_return = X$SET_WM_COLORMAP_WINDOWS

(display, window_id, colormap_windows, count)

Argument Information
Argument Usage Data Type Access Mechanism
status_return longword uns longword write reference
display identifier uns longword read reference
window_id identifier uns longword read reference
colormap_windows address array read reference
count longword longword read reference

Returns

status_return

Specifies whether the routine completed successfully.
Value Description
Non-zero Routine completed successfully.
0 Routine did not complete successfully.

SET WM HINTS


OpenVMS Format

X$SET_WM_HINTS

(display, window_id, wmhints)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
window_id identifier uns longword read reference
wmhints record x$wm_hints read reference

SET WM ICON NAME


OpenVMS Format

X$SET_WM_ICON_NAME

(display, window_id, text_prop)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
window_id address array read reference
text_prop record x$text_property read reference

SET WM NAME


OpenVMS Format

X$SET_WM_NAME

(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

SET WM NORMAL HINTS


OpenVMS Format

X$SET_WM_NORMAL_HINTS

(display, window_id, hints)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
window_id identifier uns longword read reference
hints record x$size_hints read reference

SET WM PROPERTIES


OpenVMS Format

X$SET_WM_PROPERTIES

(display, window_id, window_name, icon_name, command, num_args, normal_hints, wm_hints, class_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 reference
icon_name char_string character string read reference
command char_string character string read reference
num_args longword longword read reference
normal_hints record x$size_hints read reference
wm_hints record x$wm_hints read reference
class_hints record x$class_hint read reference

SET WM PROTOCOLS


OpenVMS Format

status_return = X$SET_WM_PROTOCOLS

(display, window_id, protocols, count)

Argument Information
Argument Usage Data Type Access Mechanism
status_return longword uns longword write reference
display identifier uns longword read reference
window_id identifier uns longword read reference
protocols identifier uns longword read reference
count longword longword read reference

Returns

status_return

Specifies whether the routine completed successfully.
Value Description
Non-zero Routine completed successfully.
0 Routine did not complete successfully.

SET WM SIZE HINTS


OpenVMS Format

X$SET_WM_SIZE_HINTS

(display, window_id, hints, property_id)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
window_id identifier uns longword read reference
hints record x$size_hints read reference
property_id identifer uns longword read reference

SET ZOOM HINTS


OpenVMS Format

X$SET_ZOOM_HINTS

(display, window_id, zhints_return)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
window_id identifier uns longword read reference
zhints_return record x$size_hints read reference

SHRINK REGION


OpenVMS Format

X$SHRINK_REGION

(region_id, x_offset, y_offset)

Argument Information
Argument Usage Data Type Access Mechanism
region_id identifier uns longword read reference
x_offset longword longword read reference
y_offset longword longword read reference

STORE BUFFER


OpenVMS Format

X$STORE_BUFFER

(display, bytes, num_bytes, buffer)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
bytes array byte read reference
num_bytes longword longword read reference
buffer longword longword read reference

STORE BYTES


OpenVMS Format

X$STORE_BYTES

(display, bytes, num_bytes)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
bytes array byte read reference
num_bytes longword longword write reference

STORE COLOR


OpenVMS Format

X$STORE_COLOR

(display, colormap_id, screen_def_return)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
colormap_id identifier uns longword read reference
screen_def_return record x$color modify reference

Arguments

screen_def_return

The color definition data structure that specifies the desired red, green, and blue color values; the color index where the color definition should be stored; and the flags member that specifies whether to set the red, green, or blue entries in

the color map. To set the flags member, do a bitwise OR with these predefined members:

X$M_DO_RED
X$M_DO_GREEN
X$M_DO_BLUE

The color stored is the color most closely supported by the hardware. The color definition must be a read/write entry.


STORE COLORS


OpenVMS Format

X$STORE_COLORS

(display, colormap_id, screen_def_returns, num_colors)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
colormap_id identifier uns longword read reference
screen_def_returns array x$color read/write reference
num_colors longword longword read reference

Arguments

screen_def_returns

The color definition data structure that specifies the desired red, green, and blue color values; the color index where the color definition should be stored; and the flags member that specifies whether to set the red, green, or blue entries in the color map. To set the flags member, do a bitwise OR with these predefined members:
X$M_DO_RED
X$M_DO_GREEN
X$M_DO_BLUE

The color stored is the color most closely supported by the hardware. The color definition must be a read/write entry.


STORE NAME


OpenVMS Format

X$STORE_NAME

(display, window_id, window_name)

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

STORE NAMED COLOR


OpenVMS Format

X$STORE_NAMED_COLOR

(display, colormap_id, color_name, pixel, flags)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
colormap_id identifier uns longword read reference
color_name char_string character string read descriptor
pixel uns longword uns longword read reference
flags uns longword uns longword read reference

Arguments

flags

Specifies whether to write the red, green, or blue values. Do a bitwise OR operation with these predefined values:
X$M_DO_RED
X$M_DO_GREEN
X$M_DO_BLUE

STRING LIST TO TEXT PROPERTY


OpenVMS Format

status_return = X$STRING_LIST_TO_TEXT_PROPERTY

(argv, argc, text_prop_return)

Argument Information
Argument Usage Data Type Access Mechanism
status_return longword uns longword write value
argv char_string character string read reference
argc longword longword read reference
text_prop_return record x$text_property write reference

Returns

status_return

Specifies whether the routine completed successfully.
Value Description
Non-zero Routine completed successfully.
0 Routine did not complete successfully.


Previous Next Contents Index