Copyright | (c) 2018 Francisco Vallarino |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | fjvallarino@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Switches to the provided theme for its child nodes.
Note: this widget ignores style settings. If you need to display borders or any
other kind of style config, set it on the child node or wrap the themeSwitch
widget in a Box
.
Configs:
- themeClearBg: indicates the clear color of the theme should be applied before rendering children. Defaults to False.
Synopsis
- themeClearBg :: ThemeSwitchCfg
- themeClearBg_ :: Bool -> ThemeSwitchCfg
- themeSwitch :: Theme -> WidgetNode s e -> WidgetNode s e
- themeSwitch_ :: Theme -> [ThemeSwitchCfg] -> WidgetNode s e -> WidgetNode s e
Documentation
themeClearBg :: ThemeSwitchCfg Source #
Indicates the clear color should be applied before rendering children.
themeClearBg_ :: Bool -> ThemeSwitchCfg Source #
Sets whether the clear color should be applied before rendering children.
themeSwitch :: Theme -> WidgetNode s e -> WidgetNode s e Source #
Switches to a new theme starting from its child node.
themeSwitch_ :: Theme -> [ThemeSwitchCfg] -> WidgetNode s e -> WidgetNode s e Source #
Switches to a new theme starting from its child node. Accepts config.