pysepal.sepalwidgets.tile.TileDisclaimer#

class pysepal.sepalwidgets.tile.TileDisclaimer(*args, **kwargs)[source]#

Create an about tile.

This tile will have the “about_widget” id and “Disclaimer” title.

Attributes

Methods

__init__

Create an about tile.

close

Release the theme toggle before closing the widget.

set_disclaimer

Rebuild the disclaimer element when the theme changes.

Parameters:

theme_toggle (ThemeToggle)

TileDisclaimer.__init__(theme_toggle=None)[source]#

Create an about tile.

This tile will have the “about_widget” id and “Disclaimer” title.

Parameters:

theme_toggle (ThemeToggle | None)

Return type:

None

TileDisclaimer.close()[source]#

Release the theme toggle before closing the widget.

traitlets keeps set_disclaimer, and a bound method holds the tile.

Return type:

None

TileDisclaimer.set_disclaimer(change)[source]#

Rebuild the disclaimer element when the theme changes.

Return type:

List[Markdown]