enum

Tryst::App::Appearance

Inherits Enum < Comparable < Value < Object

macOS window appearances accepted by #set_appearance. Crystal converts a symbol literal at the call site, so set_appearance(:dark) works and reads much like ruby-tryst's own app.appearance = :dark.

Constants

Light = 0
Dark = 1
Auto = 2

Instance methods

auto?

Returns true if this enum value equals Auto

Source
dark?

Returns true if this enum value equals Dark

Source
light?

Returns true if this enum value equals Light

Source
to_tcl

The name Tk's appearance command expects for this mode.

Source