editor.theme_manager
This module provide theme manage functions.
Typical usage example:
1from editor import theme_manager
2theme_manager.loadTheme('dark')
3theme_manager.setupThemeWatcher()
Module Contents
- editor.theme_manager.listThemes()[source]
List all available themes.
- Returns:
All available themes.
- Return type:
list[str]
- editor.theme_manager.activeTheme()[source]
Get current active theme.
- Returns:
Active theme name.
- Return type:
str
- editor.theme_manager.activeThemeFolder()[source]
Get current active theme source folder.
- Returns:
Active theme folder path.
- Return type:
str