 |
DECwindows Motif for OpenVMS Guide to Non-C
Bindings
RM Q PUT RESOURCE
OpenVMS Format
X$RM_Q_PUT_RESOURCE
(database_id, binding_list_id, repr_list_id, repr_type_id,
[repr_value], [val_len], [val_buf])
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
database_id
|
identifier
|
uns longword
|
modify
|
reference
|
binding_list_id
|
identifier
|
uns longword
|
read
|
reference
|
repr_list_id
|
identifier
|
uns longword
|
read
|
reference
|
repr_type_id
|
identifier
|
uns longword
|
read
|
reference
|
repr_value
|
record
|
x$rm_value
|
read
|
reference
|
val_len
|
longword
|
longword
|
read
|
reference
|
val_buf
|
any
|
uns longword
|
read
|
reference
|
Arguments
repr_value
The descriptor for the resource entry. This argument is optional.
val_len
Length of the value buffer. This argument is optional.
val_buf
Address of the value buffer. This argument is optional.
RM Q PUT STRING RESOURCE
OpenVMS Format
X$RM_Q_PUT_STRING_RESOURCE
(database_id, binding_list_id, repr_list_id, value_name)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
database_id
|
identifier
|
uns longword
|
modify
|
reference
|
binding_list_id
|
identifier
|
uns longword
|
read
|
reference
|
repr_list_id
|
identifier
|
uns longword
|
read
|
reference
|
value_name
|
char_string
|
character string
|
read
|
descriptor
|
RM QUARK TO STRING
OpenVMS Format
X$RM_QUARK_TO_STRING
(repr_id, repr_name)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
repr_id
|
identifier
|
uns longword
|
read
|
reference
|
repr_name
|
char_string
|
character string
|
write
|
descriptor
|
RM SET DATABASE
OpenVMS Format
X$RM_SET_DATABASE
(display, database_id )
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
database_id
|
identifier
|
uns longword
|
read
|
reference
|
RM STRING TO BIND QUARK LIST
OpenVMS Format
X$RM_STRING_TO_BIND_QUARK_LIST
(value_name, binding_list_id_return, repr_list_id_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
value_name
|
char_string
|
character string
|
read
|
descriptor
|
binding_list_id_return
|
identifier
|
uns longword
|
write
|
reference
|
repr_list_id_return
|
array
|
uns longword
|
write
|
reference
|
RM STRING TO QUARK
OpenVMS Format
repr_id_return = X$RM_STRING_TO_QUARK
(repr_name)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
repr_id_return
|
identifier
|
uns longword
|
write
|
value
|
repr_name
|
char_string
|
character string
|
read
|
descriptor
|
RM STRING TO QUARK LIST
OpenVMS Format
X$RM_STRING_TO_QUARK_LIST
(repr_name, repr_list_id_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
repr_name
|
char_string
|
character string
|
read
|
descriptor
|
repr_list_id_return
|
array
|
uns longword
|
write
|
reference
|
RM UNIQUE QUARK
OpenVMS Format
repr_id_return = X$RM_UNIQUE_QUARK
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
repr_id_return
|
identifier
|
uns longword
|
write
|
value
|
ROOT WINDOW
OpenVMS Format
root_window_id_return = X$ROOT_WINDOW
(display, screen_number)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
root_window_id_return
|
identifier
|
uns longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
screen_number
|
uns longword
|
uns longword
|
read
|
reference
|
ROOT WINDOW OF SCREEN
OpenVMS Format
window_id_return = X$ROOT_WINDOW_OF_SCREEN
(screen_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
window_id_return
|
identifier
|
uns longword
|
write
|
value
|
screen_id
|
identifier
|
uns longword
|
read
|
reference
|
ROTATE BUFFERS
OpenVMS Format
X$ROTATE_BUFFERS
(display, rotate)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
rotate
|
longword
|
longword
|
read
|
reference
|
ROTATE WINDOW PROPERTIES
OpenVMS Format
X$ROTATE_WINDOW_PROPERTIES
(display, window_id, properties, num_prop, num_positions)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
properties
|
array
|
uns longword
|
read
|
reference
|
num_prop
|
longword
|
longword
|
read
|
reference
|
num_positions
|
longword
|
longword
|
read
|
reference
|
SAVE CONTEXT
OpenVMS Format
status_return = X$SAVE_CONTEXT
(display, window_id, context_id, window_data, len)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
status_return
|
cond_value
|
uns longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
context_id
|
identifier
|
uns longword
|
read
|
reference
|
window_data
|
longword
|
uns longword
|
read
|
reference
|
len
|
longword
|
longword
|
read
|
reference
|
Arguments
len
Length of the data associated with the specified window and context
type.
SCREEN COUNT
OpenVMS Format
count_return = X$SCREEN_COUNT
(display)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
count_return
|
longword
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
SCREEN NUMBER OF SCREEN
OpenVMS Format
identifier = X$SCREEN_NUMBER_OF_SCREEN
(screen_number)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
identifier
|
identifier
|
uns longword
|
write
|
value
|
screen_number
|
uns longword
|
uns longword
|
read
|
reference
|
SCREEN OF DISPLAY
OpenVMS Format
X$SCREEN_OF_DISPLAY
(display, screen_number, screen_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
screen_number
|
uns longword
|
uns longword
|
read
|
reference
|
screen_return
|
record
|
x$screen
|
write
|
reference
|
Arguments
screen_return
The identifier of the screen associated with the specified display.
SCREEN RESOURCE STRING
OpenVMS Format
X$SCREEN_RESOURCE_STRING
(screen, res_string)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
screen
|
identifier
|
uns longword
|
read
|
reference
|
res_string
|
char_string
|
character string
|
write
|
descriptor
|
The res_string descriptor will be filled in to point to memory
allocated by Xlib; the caller is responsible for freeing this memory by
calling X$FREE.
SELECT ASYNC EVENT
OpenVMS Format
X$SELECT_ASYNC_EVENT
(display, window_id, event_type, ast_routine, ast_userarg)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
event_type
|
longword
|
uns longword
|
read
|
reference
|
ast_routine
|
procedure
|
proc entry mask
|
read
|
reference
|
ast_userarg
|
longword
|
uns longword
|
read
|
reference
|
SELECT ASYNC INPUT
OpenVMS Format
X$SELECT_ASYNC_INPUT
(display, window_id, event_mask, ast_routine, ast_userarg)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
event_mask
|
longword
|
uns longword
|
read
|
reference
|
ast_routine
|
procedure
|
proc entry mask
|
read
|
reference
|
ast_userarg
|
longword
|
uns longword
|
read
|
reference
|
SELECT INPUT
OpenVMS Format
X$SELECT_INPUT
(display, window_id, event_mask)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
event_mask
|
mask_longword
|
longword
|
read
|
reference
|
SEND EVENT
OpenVMS Format
status_return = X$SEND_EVENT
(display, window_id, propagate, event_mask, event)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
status_return
|
longword
|
uns longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
window_id
|
identifier
|
uns longword
|
read
|
reference
|
propagate
|
longword
|
longword
|
read
|
reference
|
event_mask
|
mask_longword
|
longword
|
read
|
reference
|
event
|
record
|
x$event
|
read
|
reference
|
Returns
status_return
Specifies whether the routine completed successfully.
Value |
Description |
Non-zero
|
Routine completed successfully.
|
0
|
Routine did not complete successfully.
|
Arguments
window_id
The identifier of the window to which to send the event. This window is
called the destination window. You can pass the window identifier or
the constants Pointer Window or Input Focus, which are as follows:
X$C_POINTER_WINDOW
X$C_INPUT_FOCUS
|