List of all members.
Member Function Documentation
def unlock.view.fastpad_view.FastPadView.__init__ |
( |
|
self, |
|
|
|
model, |
|
|
|
canvas | |
|
) |
| | |
Initialize internal data structures.
Input:
screen -- (Unlock Screen) Drawing area
Raises an Exception if anything goes wrong.
def unlock.view.fastpad_view.FastPadView.addText |
( |
|
self, |
|
|
|
label | |
|
) |
| | |
Add the given label to the current text if
there is enough space.
Input:
label -- (str) The text to add
Raises an Exception if anything goes wrong.
def unlock.view.fastpad_view.FastPadView.removeText |
( |
|
self, |
|
|
|
label | |
|
) |
| | |
Removes 1 character from the end of the current
text, if available.
Input:
label -- (str) Unused
Raises an Exception if anything goes wrong.
def unlock.view.fastpad_view.FastPadView.render |
( |
|
self |
) |
|
Set the FastPad into the given state/mode.
Input:
mode -- (str) One of "CURSOR" or "SELECT"
button -- (FastPadButton) Where is the cursor
or selection marker?
Raises an Exception if anything goes wrong.
def unlock.view.fastpad_view.FastPadView.speakText |
( |
|
self, |
|
|
|
label | |
|
) |
| | |
Speaks the current text out via a TTS if we're
on a supported platform.
Input:
label -- (str) Unused
Raises an Exception if anything goes wrong.
Member Data Documentation
The documentation for this class was generated from the following file: