enum Adw::ColorScheme

Overview

Application color schemes for [property@StyleManager:color-scheme].

Defined in:

lib/gi-crystal/src/auto/adw-1/adw.cr

Enum Members

Default = 0_u32

Inherit the parent color-scheme. When set on the Adw::StyleManager returned by StyleManager#default, it's equivalent to ADW_COLOR_SCHEME_PREFER_LIGHT.

ForceLight = 1_u32

Always use light appearance.

PreferLight = 2_u32

Use light appearance unless the system prefers dark colors.

PreferDark = 3_u32

Use dark appearance unless the system prefers prefers light colors.

ForceDark = 4_u32

Always use dark appearance.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def default? #

def force_dark? #

def force_light? #

def prefer_dark? #

def prefer_light? #