pysepal.sepalwidgets.app.ThemeSelect#
- class pysepal.sepalwidgets.app.ThemeSelect(*args, **kwargs)[source]#
Deprecated since version 3.0.0: This class will be renamed to ThemeToggle in v3.2.0 for better clarity
Initialize the ThemeSelect widget and set default theme configuration.
Attributes
auto_iconA trait for unicode strings.
darkA boolean (True, False) trait.
enable_autoA boolean (True, False) trait.
off_iconA trait for unicode strings.
on_iconA trait for unicode strings.
template_fileA trait for unicode strings.
Methods
Initialize the ThemeSelect widget and set default theme configuration.
Toggle between dark and light theme and save to config.