StyleManager

class StyleManager(val adwStyleManagerPointer: <Error class: unknown class><<Error class: unknown class>>)(source)

A class for managing application-wide styling.

AdwStyleManager provides a way to query and influence the application styles, such as whether to use dark or high contrast appearance.

It allows to set the color scheme via the property@StyleManager:color-scheme property, and to query the current appearance, as well as whether a system-wide color scheme preference exists.

Skipped during bindings generation

  • method yaru-accent: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(adwStyleManagerPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adwStyleManagerPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard

The requested application color scheme.

Link copied to clipboard

Whether the application is using dark appearance.

Link copied to clipboard
val display: <Error class: unknown class>?

The display the style manager is associated with.

Link copied to clipboard

Whether the application is using high contrast appearance.

Link copied to clipboard

Whether the system supports color schemes.