(LOGO.JPG) Python for OpenVMS

(go to: table of contents, index, list of vms_smg, prev: PREV, next: SAVE_PHYSICAL_SCREEN)


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.

Format:

    None = vms_smg.ring_bell (display_id, [number_of_times])
Returns:

None

Arguments:

display_id
The virtual display for which the bell or buzzer sounds.
number_of_times
The number of times the bell or buzzer is sounded.
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 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)
>>>

(go to: table of contents, index, list of vms_smg, prev: PREV, next: SAVE_PHYSICAL_SCREEN)

11-SEP-2000 ZE.