flare.button

Flare-styled button Widgets.

Module Contents

Classes

Button

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(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(event, widget=None)
resetIcon()
update()
_setIcon(icon)
_getIcon()
_setText(text)
_getText()