shapelets.apps.DataApp.checkbox#

DataApp.checkbox(title: Optional[str] = None, checked: Optional[bool] = False, toggle: Optional[bool] = None, **additional) CheckboxWidget#

Creates a Checkbox.

Parameters:
titlestr, optional

Text associated to the checkbox.

checkedbool, optional

Param to indicate the status of the widget

togglebool, optional

Param to display the widget as a toggle button

Returns:
Checkbox.

Examples

>>> control = app.checkbox(title='Option', toggle=True)

Bind compatibility

You can bind this widget with this:

Bindable as

You can bind this widget as:

  • bool