(go to: table of contents, index, list of vms_smg, prev: REMOVE_LINE, next: REPAINT_SCREEN)
None
Arguments:
Notice that pasteboard lines 6 through 9 have been redrawn.
REPAINT_LINE - Repaint One or More Lines on the Current Pasteboard
Format:
None = vms_smg.repaint_line (pasteboard_id, \
start_row, [number_of_lines])
Returns:
Examples:
(go to: table of contents,
index, list of vms_smg,
prev: REMOVE_LINE,
next: REPAINT_SCREEN)
>>> 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)
>>>
Send 2 broadcasts to the terminal device from another process:
$ reply /terminal= _FTA23: -
"BRDCST1 ===== ===== ===== ===== ===== ===== "
$ reply /terminal= _FTA23: -
"BRDCST2 ===== ===== ===== ===== ===== ===== "
>>> # cause the specified lines to be redrawn
>>> vms_smg.repaint_line (pasteboard_id, 6, 4)
>>>