class

Egui::Slider

Inherits Egui::Widget < Reference < Object

Constructors

new(value : Float64, range : Range(Float64, Float64), text : String | Nil = nil, id : String | Nil = nil)
Source

Class methods

format_value(v : Float64) : String
Source

Instance methods

inspector_label

Short human label for the inspector (the button's text, a label's text…); nil = no meaningful label.

Source
style_properties

The stylable properties of THIS widget kind: the StyleVars keys its #ui actually reads, declared here — not hardcoded in the inspector. StyleProps.textlike / .buttonlike provide the common sets. An empty list (the default) means the widget reads no style keys and the inspector shows it as non-stylable.

Source
ui(ui : Ui) : Response
Source