(go to: table of contents, index, list of vms_smg, prev: CREATE_VIEWPORT, next: CREATE_VIRTUAL_KEYBOARD)
Format:
CREATE_VIRTUAL_DISPLAY - Create a Virtual Display
Create a virtual display and return its assigned display identifier.
status, display_id = vms_smg.create_virtual_display \
(number_of_rows, number_of_columns, \
[display_attributes], [video_attributes], [character_set])
Returns:
Arguments:
Examples:
Bit mask values like SMG_M_BORDER are defined in module
'vms_smgdef'.
Bit mask values like SMG_M_BLINK are defined in module
'vms_smgdef'.
(go to: table of contents,
index, list of vms_smg,
prev: CREATE_VIEWPORT,
next: CREATE_VIRTUAL_KEYBOARD)
>>> import vms_smg
>>> import vms_smgdef
>>> # create a virtual display
>>> status, display_id = vms_smg.create_virtual_display \
... (5, 10, vms_smgdef.SMG_M_BORDER, None, None)
>>>
>>> print "status.....:", status
status.....: 1
>>> print "display_id.:", display_id
display_id.: 3131200
>>>
----------------------------------------
The display is not immediately visible. See the examples section of the
vms_smg.paste_virtual_display()
routine for a complete working demonstration.