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 _getGType() static nothrow
GType _gType() @property nothrow
ThemeSelector self() nothrowReturns `this`, for use in `with` statements.
ThemeSelectorGidBuilder builder() static nothrowGet builder for [panel.theme_selector.ThemeSelector] Returns: New builder object
string actionName() @property nothrowGet `actionName` property. Returns: The name of the action activated on activation.
void actionName(string propval) @property nothrowSet `actionName` property. Params: propval = The name of the action activated on activation.
string getActionName() nothrowGets the name of the action that will be activated. Returns: the name of the action.
void setActionName(string actionName) nothrowSets 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.

Fluent builder implementation template for panel.theme_selector.ThemeSelector

Methods
T actionName(string propval) nothrowSet `actionName` property. Params: propval = The name of the action activated on activation. Returns: Builder instance for fluent chaining
Methods
ThemeSelector build() nothrowCreate object from builder. Returns: New object