(go to: table of contents, index, list of vms_smg, prev: PREV, next: NEXT)
None
Arguments:
DELETE_PASTEBOARD - Delete Pasteboard
Format:
04-JUN-2000 ZE.
vms_smg.delete_pasteboard (pasteboard_id)
Returns:
Examples:
>>> 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 a virtual display
>>> status, display_id = vms_smg.create_virtual_display \
... (5, 10, vms_smgdef.SMG_M_BORDER, None, None)
>>>
>>> # paste the virtual display
>>> status = vms_smg.paste_virtual_display \
... (display_id, pasteboard_id, 3, 5, None)
>>>
The result can be seen in the examples section of
vms_smg.paste_virtual_display
>>> # delete the pasteboard
>>> vms_smg.delete_pasteboard (pasteboard_id)
>>>
The DECwindows terminal screen is deleted. If everything is running
interactively within the same terminal session, the screen is cleared and
the Python prompt (>>>) is shown in the upper left corner of the screen.
>>> # trying to delete a deleted pasteboard is an error
>>> vms_smg.delete_pasteboard (pasteboard_id)
Traceback (innermost last):
File "<stdin>", line 1, in ?
vms_smg.error: (1212964, '%SMG-F-INVPAS_ID, invalid pasteboard-id')
>>>
>>> # the virtual display that was pasted does still exist
>>> vms_smg.delete_virtual_display (display_id)
>>>
(go to: table of contents,
index,
list of vms_smg,
prev: PREV,
next: NEXT)