class

Tui::RichText::InlineButton

Inherits Tui::RichText::InlineElement / Reference / Object

Clickable inline button [Action]

Constructors

new(label : String, action : Nil | -> _ = nil, id : String | Nil = nil)
Source

Instance methods

action
Source
action=(action : Proc(Nil) | Nil)
Source
focus_style
Source
focus_style=(focus_style : Style)
Source
handle_event(event : Event) : Bool
Source
label
Source
label=(label : String)
Source
render(buffer : Buffer, x : Int32, y : Int32, clip : Rect, focused : Bool) : Int32
Source
style
Source
style=(style : Style)
Source
width
Source