Class StyleManager
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class StyleManager : Object, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
StyleManager
- Implements
-
- Inherited Members
-
Constructors
StyleManager(StyleManagerHandle)
public StyleManager(StyleManagerHandle handle)
Parameters
handle
StyleManagerHandle
StyleManager(params ConstructArgument[])
public StyleManager(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Fields
AccentColorPropertyDefinition
public static readonly Property<AccentColor, StyleManager> AccentColorPropertyDefinition
Field Value
- Property<AccentColor, StyleManager>
AccentColorRgbaPropertyDefinition
public static readonly Property<RGBA, StyleManager> AccentColorRgbaPropertyDefinition
Field Value
- Property<RGBA, StyleManager>
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>
SystemSupportsAccentColorsPropertyDefinition
public static readonly Property<bool, StyleManager> SystemSupportsAccentColorsPropertyDefinition
Field Value
- Property<bool, StyleManager>
SystemSupportsColorSchemesPropertyDefinition
public static readonly Property<bool, StyleManager> SystemSupportsColorSchemesPropertyDefinition
Field Value
- Property<bool, StyleManager>
Properties
AccentColor
public AccentColor AccentColor { get; }
Property Value
- AccentColor
AccentColorRgba
public RGBA AccentColorRgba { get; }
Property Value
- RGBA
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
SystemSupportsAccentColors
public bool SystemSupportsAccentColors { get; }
Property Value
- bool
SystemSupportsColorSchemes
public bool SystemSupportsColorSchemes { get; }
Property Value
- bool
Methods
GetAccentColor()
[Version("1.6")]
public AccentColor GetAccentColor()
Returns
- AccentColor
GetAccentColorRgba()
[Version("1.6")]
public RGBA GetAccentColorRgba()
Returns
- RGBA
GetColorScheme()
public ColorScheme GetColorScheme()
Returns
- ColorScheme
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
GetSystemSupportsAccentColors()
[Version("1.6")]
public bool GetSystemSupportsAccentColors()
Returns
- bool
GetSystemSupportsColorSchemes()
public bool GetSystemSupportsColorSchemes()
Returns
- bool
SetColorScheme(ColorScheme)
public void SetColorScheme(ColorScheme colorScheme)
Parameters
colorScheme
ColorScheme