(go to: table of contents, index, list of vms_smg, prev: PREV, next: SAVE_PHYSICAL_SCREEN)
Format:
None
Arguments:
RING_BELL - Ring the Terminal Bell or Buzzer
The bell/buzzer will sound on any pasteboard that the virtual display is pasted
to. If the display is not pasted, no sound will be emitted.
None = vms_smg.ring_bell (display_id, [number_of_times])
Returns:
Examples:
(go to: table of contents,
index, list of vms_smg,
prev: PREV,
next: SAVE_PHYSICAL_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 virtual display
>>> status, display_id = vms_smg.create_virtual_display \
... (5, 10, vms_smgdef.SMG_M_BORDER, None, None)
>>>
>>> # paste virtual display
>>> status = vms_smg.paste_virtual_display \
... (display_id, pasteboard_id, 3, 5, None)
>>>
>>> # sound 1x
>>> vms_smg.ring_bell (display_id)
>>>
>>> # sound 3x
>>> vms_smg.ring_bell (display_id, 3)
>>>