DECwindows Motif for OpenVMS Guide to Non-C Bindings


Previous Contents Index


LOOKUP STRING


OpenVMS Format

buflen_return = X$LOOKUP_STRING

(key_event, buff_return, num_bytes, keysym_id_return, compose_status_return)

Argument Information
Argument Usage Data Type Access Mechanism
buflen_return longword longword write value
key_event record x$key_event read reference
buff_return address longword write descriptor
num_bytes longword uns longword read reference
keysym_id_return identifier uns longword write reference
compose_status_return record x$compose_status write reference

LOWER WINDOW


OpenVMS Format

X$LOWER_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

MAP RAISED


OpenVMS Format

X$MAP_RAISED

(display, window_id)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
window_id identifier uns longword read reference

MAP SUBWINDOWS


OpenVMS Format

X$MAP_SUBWINDOWS

(display, window_id)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
window_id identifier uns longword read reference

MAP WINDOW


OpenVMS Format

X$MAP_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

MASK EVENT


OpenVMS Format

X$MASK_EVENT

(display, event_mask, event_return)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
event_mask mask_longword longword read reference
event_return record x$event write reference

MATCH VISUAL INFO


OpenVMS Format

status_return = X$MATCH_VISUAL_INFO

(display, screen_number, depth, class, vinfo_return)

Argument Information
Argument Usage Data Type Access Mechanism
status_return longword longword write value
display identifier uns longword read reference
screen_number uns longword uns longword read reference
depth longword longword read value
class longword longword read value
vinfo_return record x$visual_info write reference

Returns

status_return

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

MAX CMAPS OF SCREEN


OpenVMS Format

colormaps_return = X$MAX_CMAPS_OF_SCREEN

(screen_id)

Argument Information
Argument Usage Data Type Access Mechanism
colormaps_return longword longword write value
screen_id identifier uns longword read reference

MAX REQUEST SIZE


OpenVMS Format

size_return = X$MAX_REQUEST_SIZE

(display)

Argument Information
Argument Usage Data Type Access Mechanism
size_return longword longword write value
display identifier uns longword read reference

MIN CMAPS OF SCREEN


OpenVMS Format

colormaps_return = X$MIN_CMAPS_OF_SCREEN

(screen_id)

Argument Information
Argument Usage Data Type Access Mechanism
colormaps_return longword longword write value
screen_id identifier uns longword read reference

MOVE RESIZE WINDOW


OpenVMS Format

X$MOVE_RESIZE_WINDOW

(display, window_id, x_coord, y_coord, width, height)

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 uns longword uns longword read reference
height uns longword uns longword read reference

MOVE WINDOW


OpenVMS Format

X$MOVE_WINDOW

(display, window_id, x_coord, y_coord)

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

NEW MODIFIERMAP


OpenVMS Format

status_return = X$NEW_MODIFIERMAP

(max_keys_per_mod, mkeymap_return)

Argument Information
Argument Usage Data Type Access Mechanism
status_return cond_value uns longword write value
max_keys_per_mod longword longword read reference
mkeymap_return record x$modifier_keymap write reference

Returns

status_return

Specifies whether the routine completed successfully. NEW MODIFIERMAP returns one of the following values:
Value Description
SS$_NORMAL Routine completed successfully.
0 Malloc failed.

Arguments

mkeymap_return

The new modifier key map structure.

NEXT EVENT


OpenVMS Format

X$NEXT_EVENT

(display, event_return)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference
event_return record x$event write reference

NEXT REQUEST


OpenVMS Format

request_return = X$NEXT_REQUEST

(display)

Argument Information
Argument Usage Data Type Access Mechanism
request_return uns longword uns longword write value
display identifier uns longword read reference

NO OP


OpenVMS Format

X$NO_OP

(display)

Argument Information
Argument Usage Data Type Access Mechanism
display identifier uns longword read reference

OFFSET REGION


OpenVMS Format

X$OFFSET_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

OPEN DISPLAY


OpenVMS Format

display_return = X$OPEN_DISPLAY

([display_name])

Argument Information
Argument Usage Data Type Access Mechanism
display_return identifier uns longword write value
display_name char_string character string read descriptor

Arguments

display_name

The name of the hardware display to which you want to connect. The display_name argument is a string that has the following format:

hostname::number.screen

The string elements are as follows:
hostname The name of the host machine to which the display is physically connected. Specify zero if the client program and the server are running in the same CPU.
number The number of the server on that host machine. A single CPU can have one or more servers, which are usually numbered starting with zero.
screen The number of the screen on that server. An X server can control multiple screens on one display. The screen sets an internal variable that can be accessed by using the DefaultScreen macro or the DEFAULT SCREEN function.

The display_name argument, which is optional, is the address of the character string descriptor that points to the string. If you omit the display_name argument, the OPEN DISPLAY routine translates the logical name DECW$DISPLAY to find the display name.


PARSE COLOR


OpenVMS Format

status_return = X$PARSE_COLOR

(display, colormap_id, color_name, screen_def_return)

Argument Information
Argument Usage Data Type Access Mechanism
status_return cond_value uns longword write value
display identifier uns longword read reference
colormap_id identifier uns longword read reference
color_name char_string character string read descriptor
screen_def_return record x$color write reference

Returns

status_return

Specifies whether the routine completed successfully. PARSE COLOR returns one of the following values:
Value Description
SS$_NORMAL Routine completed successfully.
X$_ERRORREPLY Error received from server.

Arguments

color_name

The name of the color. The string can be either a color name string or a numeric specification. If you use a text string, the name must be supported by the color database maintained by the server. See the SYS$MANAGER:DECW$RGB.COM file for a list of all named colors. Case is not significant.

The color_name argument is the address of a character string descriptor that points to the string.


Previous Next Contents Index