module Crysterm::Mixin::Style

Direct including types

Defined in:

mixin/style.cr

Instance Method Summary

Instance Method Detail

def state #

[View source]
def state=(state) #

[View source]
def style : Crysterm::Style #

If specific style is not set, it will depend on current state


[View source]
def style=(style : Crysterm::Style | Nil) #

User may set specific style for this widget


[View source]
def styles : Crysterm::Styles #

List of styles corresponding to different widget states.

Only one style, normal is initialized by default, others default to it if nil.


[View source]
def styles=(styles : Crysterm::Styles) #

List of styles corresponding to different widget states.

Only one style, normal is initialized by default, others default to it if nil.


[View source]