 |
DECwindows Motif for OpenVMS Guide to Non-C
Bindings
BITMAP PAD
OpenVMS Format
pad_return = X$BITMAP_PAD
(display)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
pad_return
|
longword
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
BITMAP UNIT
OpenVMS Format
size_return = X$BITMAP_UNIT
(display)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
size_return
|
uns longword
|
uns longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
BLACK PIXEL
OpenVMS Format
color_index_return = X$BLACK_PIXEL
(display, screen_number)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
color_index_return
|
identifier
|
uns longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
screen_number
|
uns longword
|
uns longword
|
read
|
reference
|
BLACK PIXEL OF SCREEN
OpenVMS Format
color_index_return = X$BLACK_PIXEL_OF_SCREEN
(screen_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
color_index_return
|
identifier
|
uns longword
|
write
|
value
|
screen_id
|
identifier
|
uns longword
|
read
|
reference
|
CELLS OF SCREEN
OpenVMS Format
cells_return = X$CELLS_OF_SCREEN
(screen_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
cells_return
|
longword
|
longword
|
write
|
value
|
screen_id
|
identifier
|
uns longword
|
read
|
reference
|
CHANGE ACTIVE POINTER GRAB
OpenVMS Format
X$CHANGE_ACTIVE_POINTER_GRAB
(display, event_mask, cursor_id, time)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
event_mask
|
mask_longword
|
uns longword
|
read
|
reference
|
cursor_id
|
identifier
|
uns longword
|
read
|
reference
|
time
|
longword
|
uns longword
|
read
|
reference
|
Arguments
event_mask
Specifies the pointer events to be reported to the client. The mask can
be the inclusive OR of the event mask values listed in Table 2-1.
Table 2-1 Event Mask Description
Bit |
Predefined Value |
Description |
2
|
X$M_BUTTON_PRESS
|
Pointer button down events wanted
|
3
|
X$M_BUTTON_RELEASE
|
Pointer button up events wanted
|
4
|
X$M_ENTER_WINDOW
|
Pointer window entry events wanted
|
5
|
X$M_LEAVE_WINDOW
|
Pointer window leave events wanted
|
6
|
X$M_POINTER_MOTION
|
Pointer motion events wanted
|
7
|
X$M_POINTER_MOTION_HINT
|
Pointer motion hints wanted
|
8
|
X$M_BUTTON1_MOTION
|
Pointer motion while button 1 down
|
9
|
X$M_BUTTON2_MOTION
|
Pointer motion while button 2 down
|
10
|
X$M_BUTTON3_MOTION
|
Pointer motion while button 3 down
|
11
|
X$M_BUTTON4_MOTION
|
Pointer while button 4 down
|
12
|
X$M_BUTTON5_MOTION
|
Pointer motion while button 5 down
|
13
|
X$M_BUTTON_MOTION
|
Pointer motion while any button down
|
14
|
X$M_KEYMAP_STATE
|
Any keyboard state change wanted
|
CHANGE GC
OpenVMS Format
X$CHANGE_GC
(display, gc_id, gc_mask, values_struc)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_mask
|
mask_longword
|
uns longword
|
read
|
reference
|
values_struc
|
record
|
x$gc_values
|
read
|
reference
|
CHANGE KEYBOARD CONTROL
OpenVMS Format
X$CHANGE_KEYBOARD_CONTROL
(display, value_mask, control_values)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
value_mask
|
mask_longword
|
uns longword
|
read
|
reference
|
control_values
|
record
|
x$keyboard_control
|
read
|
reference
|
CHANGE KEYBOARD MAPPING
OpenVMS Format
X$CHANGE_KEYBOARD_MAPPING
(display, first_keycode, keysyms_per_keycode, keysyms_ids, num_keycodes)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
first_keycode
|
longword
|
uns longword
|
read
|
reference
|
keysyms_per_keycode
|
longword
|
longword
|
read
|
reference
|
keysyms_ids
|
array
|
uns longword
|
read
|
reference
|
num_keycodes
|
longword
|
longword
|
read
|
reference
|
Arguments
keysyms_ids
A pointer to a list containing the specified key symbols for the key
codes. The total number of key symbols specified must be a multiple of
keysyms_per_keycode. The list is an array where each
element contains a key symbol.
CHANGE POINTER CONTROL
OpenVMS Format
X$CHANGE_POINTER_CONTROL
(display, do_accel, do_threshold, accel_numerator, accel_denominator,
threshold)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
do_accel
|
Boolean
|
longword
|
read
|
reference
|
do_threshold
|
Boolean
|
longword
|
read
|
reference
|
accel_numerator
|
longword
|
longword
|
read
|
reference
|
accel_denominator
|
longword
|
longword
|
read
|
reference
|
threshold
|
longword
|
longword
|
read
|
reference
|
CHANGE PROPERTY
OpenVMS Format
X$CHANGE_PROPERTY
(display, window_id, property_id, type_id, format, change_mode,
prop_data, num_elements)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
property_id
|
identifier
|
uns longword
|
read
|
reference
|
type_id
|
identifier
|
uns longword
|
read
|
reference
|
format
|
longword
|
longword
|
read
|
reference
|
change_mode
|
longword
|
uns longword
|
read
|
reference
|
prop_data
|
array
|
byte
|
read
|
reference
|
num_elements
|
longword
|
longword
|
read
|
reference
|
Arguments
change_mode
The type of property change to be completed by the routine. The
predefined values for change_mode are as follows:
X$C_PROP_MODE_REPLACE
X$C_PROP_MODE_PREPEND
X$C_PROP_MODE_APPEND
None
The value None assumes that the values for the
type_id and format specified match
the values for the specified property, and that the new value is zero.
Other values specified in this argument are not valid.
CHANGE SAVE SET
OpenVMS Format
X$CHANGE_SAVE_SET
(display, window_id, change_mode)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
change_mode
|
longword
|
longword
|
read
|
reference
|
Arguments
change_mode
The predefined values for change_mode are as follows:
Value |
Description |
X$C_SET_MODE_INSERT
|
Adds the specified windows to the client's saveset.
|
X$C_SET_MODE_DELETE
|
Removes the specified windows from the client's saveset.
|
CHANGE WINDOW ATTRIBUTES
OpenVMS Format
X$CHANGE_WINDOW_ATTRIBUTES
(display, window_id, attributes_mask, attributes)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
attributes_mask
|
uns longword
|
uns longword
|
read
|
reference
|
attributes
|
record
|
x$set_win_attributes
|
read
|
reference
|
CHECK IF EVENT
OpenVMS Format
present_return = X$CHECK_IF_EVENT
(display, event_return, predicate, arg)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
present_return
|
Boolean
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
event_return
|
record
|
x$event
|
write
|
reference
|
predicate
|
procedure
|
proc entry mask
|
read
|
reference
|
arg
|
longword
|
uns longword
|
read
|
value
|
CHECK MASK EVENT
OpenVMS Format
present_return = X$CHECK_MASK_EVENT
(display, event_mask, event_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
present_return
|
Boolean
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
event_mask
|
mask_longword
|
longword
|
read
|
reference
|
event_return
|
record
|
x$event
|
write
|
reference
|
CHECK TYPED EVENT
OpenVMS Format
present_return = X$CHECK_TYPED_EVENT
(display, event_type, event_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
present_return
|
Boolean
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
event_type
|
longword
|
longword
|
read
|
reference
|
event_return
|
record
|
x$event
|
write
|
reference
|
|