panel.theme_selector

Module for [ThemeSelector] class

Types 3

A widget that allow selecting theme preference between "dark", "light" and "follow" the system preference.

theme-selector

Upon activation it will activate the named action in #PanelThemeSelector:action-name.

Methods
GType _gType() @property
ThemeSelector self()Returns `this`, for use in `with` statements.
ThemeSelectorGidBuilder builder()Get builder for [panel.theme_selector.ThemeSelector] Returns: New builder object
string actionName() @propertyGet `actionName` property. Returns: The name of the action activated on activation.
void actionName(string propval) @propertySet `actionName` property. Params: propval = The name of the action activated on activation.
string getActionName()Gets the name of the action that will be activated. Returns: the name of the action.
void setActionName(string actionName)Sets the name of the action that will be activated.
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new #ThemeSelector. Returns: a newly created #PanelThemeSelector.
Methods
T actionName(string propval)Set `actionName` property. Params: propval = The name of the action activated on activation. Returns: Builder instance for fluent chaining

Fluent builder for [panel.theme_selector.ThemeSelector]