flare.button
¶
Flare-styled button Widgets.
Module Contents¶
Classes¶
Extended version for a button with a text and icon, which binds itself to an event function. |
- class flare.button.Button(text=None, callback=None, className='', icon=None)¶
Bases:
flare.html5.Button
Extended version for a button with a text and icon, which binds itself to an event function.
- onBind(self, widget, name)¶
Event function that is called on the widget when it is bound to another widget with a name.
This is only done by the HTML parser, a manual binding by the user is not triggered.
- onClick(self, event, widget=None)¶
- resetIcon(self)¶
- update(self)¶
- _setIcon(self, icon)¶
- _getIcon(self)¶
- _setText(self, text)¶
- _getText(self)¶