List of all members.
Detailed Description
Class for a FastPad button.
Member Function Documentation
def unlock.view.fastpad_view.FastPadButton.__init__ |
( |
|
self, |
|
|
|
rect, |
|
|
|
labels, |
|
|
|
actions, |
|
|
|
canvas | |
|
) |
| | |
Initialize the internal data structures and
graphical button layout.
Input:
screen -- (Unlock Screen) Drawing area
rect -- (tuple(int, int, int, int)) Rectangle
with x, y, width, and height
labels -- (list(str)) Strings to display on
the button; first is the biggest
actions -- (list(funcs)) Actions to perform
when labels are selected; a function will
be passed the label as its argument
Raises an Exception if anything goes wrong.
def unlock.view.fastpad_view.FastPadButton.render |
( |
|
self |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: