Table of Contents

Class StyleManager

Namespace
Adw
Assembly
Adw-1.dll
public sealed class StyleManager : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
StyleManager
Implements
Inherited Members

Constructors

StyleManager(bool, params ConstructArgument[])

protected StyleManager(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

StyleManager(IntPtr, bool)

protected StyleManager(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ColorSchemePropertyDefinition

public static readonly Property<ColorScheme, StyleManager> ColorSchemePropertyDefinition

Field Value

Property<ColorScheme, StyleManager>

DarkPropertyDefinition

public static readonly Property<bool, StyleManager> DarkPropertyDefinition

Field Value

Property<bool, StyleManager>

DisplayPropertyDefinition

public static readonly Property<Display?, StyleManager> DisplayPropertyDefinition

Field Value

Property<Display, StyleManager>

HighContrastPropertyDefinition

public static readonly Property<bool, StyleManager> HighContrastPropertyDefinition

Field Value

Property<bool, StyleManager>

SystemSupportsColorSchemesPropertyDefinition

public static readonly Property<bool, StyleManager> SystemSupportsColorSchemesPropertyDefinition

Field Value

Property<bool, StyleManager>

Properties

ColorScheme

public ColorScheme ColorScheme { get; set; }

Property Value

ColorScheme

Dark

public bool Dark { get; }

Property Value

bool

Display

public Display? Display { get; }

Property Value

Display

HighContrast

public bool HighContrast { get; }

Property Value

bool

SystemSupportsColorSchemes

public bool SystemSupportsColorSchemes { get; }

Property Value

bool

Methods

GetColorScheme()

public ColorScheme GetColorScheme()

Returns

ColorScheme

GetDark()

public bool GetDark()

Returns

bool

GetDefault()

public static StyleManager GetDefault()

Returns

StyleManager

GetDisplay()

public Display? GetDisplay()

Returns

Display

GetForDisplay(Display)

public static StyleManager GetForDisplay(Display display)

Parameters

display Display

Returns

StyleManager

GetGType()

public static Type GetGType()

Returns

Type

GetHighContrast()

public bool GetHighContrast()

Returns

bool

GetSystemSupportsColorSchemes()

public bool GetSystemSupportsColorSchemes()

Returns

bool

SetColorScheme(ColorScheme)

public void SetColorScheme(ColorScheme colorScheme)

Parameters

colorScheme ColorScheme