enum Gtk::SymbolicColor

Overview

The indexes of colors passed to symbolic color rendering, such as Gtk::SymbolicPaintable#snapshot_symbolic.

More values may be added over time.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Foreground = 0_u32

The default foreground color

Error = 1_u32

Indication color for errors

Warning = 2_u32

Indication color for warnings

Success = 3_u32

Indication color for success

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 error? #

def foreground? #

def success? #

def warning? #