| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
ButtonSavior
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
| (string, [ButtonProgram]) |
|
||
|
|||
|
|||
|
|||
|
|||
BUTTON_PROGRAM_SET_TAG =
|
|||
BUTTON_PROGRAM_SET_TITLE_TAG =
|
|||
BUTTON_PROGRAM_TAG =
|
|||
BUTTON_LABEL_TAG =
|
|||
BUTTON_TEXT_TO_SAY_TAG =
|
|||
BUTTON_VOICE_TAG =
|
|||
BUTTON_TTS_ENGINE =
|
|||
BUTTON_PLAY_ONCE =
|
|||
SPEECH_SET_DIR =
|
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Given an array of ButtonProgram objects, turn them to XML and save them in a new file of the given name. If the file exists, it will be overwritten.
|
Given an absolute path to a button program XML file, return an iterator over the DOM tree program elements. The caller passes in a class object. This class will be instantiated with the data extracted from the XML of each button program. Example structure:
<buttonProgramSet>
<buttonProgramSetTitle>Household Set</buttonProgramSetTitle>
<buttonSetting>
<label>Button 4</label>
<text>Utterance number 1</text>
<voice>David</voice>
<engine>cepstral</engine>
<playOnce>True</playOnce>
</buttonSetting>
<buttonSetting>
<label>Button 5</label>
<text>Utterance number 2</text>
<voice>David</voice>
<engine>cepstral</engine>
<playOnce>True</playOnce>
</buttonSetting>
</buttonProgramSet>
|
|
|||
SPEECH_SET_DIR
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 18:08:31 2012 | http://epydoc.sourceforge.net |