edifice.Button

class edifice.Button(title='', **kwargs)[source]

Bases: edifice.base_components.QtWidgetComponent

Basic button widget.

../_images/textinput_button.png

Button on the right

Set the on_click prop (inherited from QtWidgetComponent) to define the behavior on click.

Parameters
  • title (Any) – the button text

  • style – the styling of the button

Methods

Attributes

children

The children of this component.

props

The props of this component.