Egui::StyleClass
Inherits Reference < Object
One class in the tree: base-state vars plus per-state overlays.
Constructors
new(path : String)
SourceInstance methods
path
Sourceset(state : String, vars : Hash(String, StyleValue)) : self
Merge vars into the given state overlay (:hover, :selected…).
set(vars : Hash(String, StyleValue)) : self
Merge vars into the base state (per-key override).
states
Sourcevars
Sourcevars=(vars : StyleVars)
Source