panel.theme_selector
Module for [ThemeSelector] class
Types 3
classThemeSelector : gtk.widget.Widget
A widget that allow selecting theme preference between "dark", "light" and "follow" the system preference.
Upon activation it will activate the named action in #PanelThemeSelector:action-name.
Methods
ThemeSelector self()Returns `this`, for use in `with` statements.ThemeSelectorGidBuilder builder()Get builder for [panel.theme_selector.ThemeSelector] Returns: New builder objectstring 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.Methods
T actionName(string propval)Set `actionName` property. Params: propval = The name of the action activated on activation. Returns: Builder instance for fluent chainingFluent builder for [panel.theme_selector.ThemeSelector]
Methods