Class

HeStyleManager

Description [src]

class He.StyleManager : GObject.Object
{
  accent_color: HeRGBColor*,
  font_weight: gdouble,
  roundness: gdouble,
  is_dark: gboolean,
  contrast: gdouble,
  scheme_variant: HeSchemeVariant*
}

A class that manages the style of the application in conjunction with the provided preferences. This is a low-level class that should not be used directly. Instead, let the He.Application class manage this for you..

Hierarchy

hierarchy this HeStyleManager ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

he_style_manager_new
No description available.

Instance methods

he_style_manager_update

Runs all the necessary updates to apply the current style. If is_registered is false, this will do nothing..

he_style_manager_style_refresh
No description available.

he_style_manager_weight_refresh
No description available.

he_style_manager_register

Register the style manager with GTK. This will also call update..

he_style_manager_unregister

Unregister the style manager with GTK..

he_style_manager_get_is_registered
No description available.

he_style_manager_get_user_base
No description available.

he_style_manager_get_user_dark
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

He.StyleManager:is-registered

Whether the style manager has been registered. Unregistered style managers will not apply their styles..

He.StyleManager:user-base

The base style provider for application provided styles. In this case user refers to the application, not the user of the application..

He.StyleManager:user-dark

The dark style provider for application provided styles. This will be applied in addition to the base style provider when dark mode is enabled. .

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct HeStyleManagerClass {
  /* no available fields */
}

No description available.