speechViewer module

class speechViewer.SpeechViewerFrame(onDestroyCallBack: Callable[[], None])

Bases: ContextHelpMixin, Frame

helpId = 'SpeechViewer'
_getDialogSizeAndPosition()
onSessionLockStateChange(isNowLocked: bool)

@param isNowLocked: True if new state is locked, False if new state is unlocked

_createControls(sizer, parent)
_onDialogActivated(evt)
onClose(evt)
onShouldShowOnStartupChanged(evt: CommandEvent)
_isDestroyed: bool
onDestroy(evt: Event)
doDisplaysMatchConfig()
getAttachedDisplaySizesAsStringArray()
savePositionInformation()
speechViewer.activate()

Function to call to trigger the speech viewer window to open.

speechViewer._setActive(isNowActive: bool, speechViewerFrame: SpeechViewerFrame | None = None) None
speechViewer.SPEECH_ITEM_SEPARATOR = '  '

How to separate items in a speech sequence

speechViewer.SPEECH_SEQUENCE_SEPARATOR = '\n'

How to separate speech sequences

speechViewer.appendSpeechSequence(sequence: list[SpeechCommand | str]) None

Appends a speech sequence to the speech viewer. @param sequence: To append, items are separated with . Concluding with a newline.

speechViewer._cleanup()
speechViewer.deactivate()