(go to: table of contents, index, list of vms_smg, prev: CREATE_VIEWPORT, next: NEXT)
CREATE_VIRTUAL_DISPLAY - Create a Virtual Display
Create a virtual display and returns its assigned display identifier.
30-MAY-2000 ZE.
Format:
status, display_id = vms_smg.create_virtual_display \
(number_of_rows, number_of_columns,
[display_attributes], [video_attributes], [character_set])
Returns:
Arguments:
Examples:
Bitmask values like SMG_M_BORDER are defined in module
'vms_smgdef'.
Bitmask values like SMG_M_BLINK are defined in module
'vms_smgdef'.
>>> 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.
(go to: table of contents,
index,
list of vms_smg,
prev: CREATE_VIEWPORT,
next: NEXT)