struct

Tryst::UI::StyleRef

Inherits Struct < Value < Object

A named ttk style handle, returned by WidgetDSL#style's named form - what to pass as a widget's style: instead of the raw "Prefix.TButton" ttk spelling. #to_s is the raw name, so a StyleRef and a plain String are interchangeable wherever style: is accepted.

Constructors

new(ttk_name : String)
Source

Instance methods

clone
Source
copy_with(ttk_name _ttk_name = @ttk_name)
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
ttk_name