pysepal.sepalwidgets.alert.StateBar#

class pysepal.sepalwidgets.alert.StateBar(*args, **kwargs)[source]#

Widget to display quick messages on simple inline status bar.

Parameters:

kwargs (optional) – any parameter from a v.SystemBar. If set, ‘children’ will be overwritten.

Attributes

loading

either or not the circular progress is spinning

msg

the displayed message

progress

The ProgressCircular widget that will be displayed in the statebar

Methods

__init__

Widget to display quick messages on simple inline status bar.

add_msg

Change current status message.

StateBar.__init__(**kwargs)[source]#

Widget to display quick messages on simple inline status bar.

Parameters:

kwargs (optional) – any parameter from a v.SystemBar. If set, ‘children’ will be overwritten.

Return type:

None

StateBar.add_msg(msg, loading=False)[source]#

Change current status message.

Parameters:
  • msg (str) – the message to display

  • loading (bool) – the loading status of the progress circular

Return type:

Self