(go to: table of contents, index, list of vms_smg, prev: PASTE_VIRTUAL_DISPLAY, next: PRINT_PASTEBOARD)
Format:
None
Arguments:
Notice that the cursor is still at the old position.
POP_VIRTUAL_DISPLAY - Delete a Series of Virtual Displays
Delete the specified virtual display and all displays that were pasted on the
specified pasteboard on top of the specified virtual display.
None = vms_smg.pop_virtual_display (display_id, pasteboard_id)
Returns:
Examples:
(go to: table of contents,
index, list of vms_smg,
prev: PASTE_VIRTUAL_DISPLAY,
next: PRINT_PASTEBOARD)
>>> import vms_smg
>>> import vms_smgdef
>>> # create a new DECwindows terminal using SMG
>>> status, pasteboard_id, number_of_pasteboard_rows, \
... number_of_pasteboard_columns, type_of_terminal, \
... device_name = vms_smg.create_pasteboard \
... (None, vms_smgdef.SMG_M_WORKSTATION)
>>>
>>> # create virtual display 1
>>> status, vtdpy1 = vms_smg.create_virtual_display \
... (5, 10, vms_smgdef.SMG_M_BORDER, None, None)
>>>
>>> # write to virtual display 1
>>> status = vms_smg.put_chars (vtdpy1, 'V1', 0, 0)
>>>
>>> # create virtual display 2
>>> status, vtdpy2 = vms_smg.create_virtual_display \
... (5, 10, vms_smgdef.SMG_M_BORDER, None, None)
>>>
>>> # write to virtual display 2
>>> status = vms_smg.put_chars (vtdpy2, 'V2', 0, 0)
>>>
>>> # create virtual display 3
>>> status, vtdpy3 = vms_smg.create_virtual_display \
... (5, 10, vms_smgdef.SMG_M_BORDER, None, None)
>>>
>>> # write to virtual display 3
>>> status = vms_smg.put_chars (vtdpy3, 'V3', 0, 0)
>>>
>>> # paste virtual display 1
>>> status = vms_smg.paste_virtual_display \
... (vtdpy1, pasteboard_id, 3, 5, None)
>>>
>>> # paste virtual display 2
>>> status = vms_smg.paste_virtual_display \
... (vtdpy2, pasteboard_id, 5, 7, None)
>>>
>>> # paste virtual display 3
>>> status = vms_smg.paste_virtual_display \
... (vtdpy3, pasteboard_id, 7, 9, None)
>>>
>>> # pop virtual display 2 - (will also unpaste display 3)
>>> vms_smg.pop_virtual_display (vtdpy2, pasteboard_id)
>>>