class

Egui::RichLabel

Inherits Egui::Widget < Reference < Object

Constants

INLINE_CODE_BG = Color32.rgba(233, 237, 240, 255)

Inline-code chip: a soft gray rounded rect behind code spans (GitHub-light tint), painted by paint_galley from the run's background.

Constructors

new(text : String, size : Float64 | Nil = nil, wrap : Bool | Nil = nil, userselect : Bool = true, id : String | Nil = nil)
Source
new(rich : RichText, wrap : Bool | Nil = nil, userselect : Bool = true, id : String | Nil = nil)
Source

Instance methods

inspector_label

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

Source
rich
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
userselect?
Source
wrap
Source