class

Tui::CSS::Stylesheet

Inherits Reference / Object

Parsed stylesheet

Constructors

Instance methods

rules
Source
rules=(rules : Array(Rule))
Source
rules_for(widget : Widget) : Array(Rule)

Find matching rules for a widget (in specificity order)

Source
style_for(widget : Widget) : Hash(String, Value)

Get computed style for widget

Source
variables
Source
variables=(variables : Hash(String, Value))
Source