class

Egui::StyleClass

Inherits Reference < Object

One class in the tree: base-state vars plus per-state overlays.

Constructors

new(path : String)
Source

Instance methods

path
Source
set(state : String, vars : Hash(String, StyleValue)) : self

Merge vars into the given state overlay (:hover, :selected…).

Source
set(vars : Hash(String, StyleValue)) : self

Merge vars into the base state (per-key override).

Source
states
Source
vars
Source
vars=(vars : StyleVars)
Source