class TextUi::StatusBar

Defined in:

textui/status_bar.cr

Constructors

Instance Method Summary

Instance methods inherited from class TextUi::Widget

<<(*args, **options)
<<(*args, **options, &)
<<
, absolute_height absolute_height, absolute_width absolute_width, absolute_x absolute_x, absolute_y absolute_y, children : Array(TextUi::Widget) children, children?(widget : Widget) : Bool children?, children_focused? children_focused?, clear_text(x, y, text : String, format : Format = @default_format, stop_on_lf = false)
clear_text(x, y, n : Int32, format : Format = @default_format, stop_on_lf = false)
clear_text
, default_format : Format default_format, default_format=(default_format : Format) default_format=, destroy destroy, each_char_pos(x, y, text : String, &) each_char_pos, erase erase, focused=(focused : Bool) focused=, focused? : Bool focused?, height : Int32 height, height=(height : Int32) height=, invalidate invalidate, move(x : Int32, y : Int32) move, parent : TextUi::Widget parent, print_char(x : Int32, y : Int32, chr : Char, format : Format = @default_format) print_char, print_line(x : Int32, y : Int32, text : String, format : Format = @default_format, offset = 0, count = text.size, width = 0, ellipsis = true) : Nil print_line, print_lines(x, y, text : String, format : Format = @default_format, width = 0) print_lines, render render, render_cursor render_cursor, resize(width : Int32, height : Int32) resize, set_cursor(x, y) set_cursor, ui ui, visible=(visible : Bool) visible=, visible? : Bool visible?, width : Int32 width, width=(width : Int32) width=, x : Int32 x, x=(x : Int32) x=, y : Int32 y, y=(y : Int32) y=

Constructor methods inherited from class TextUi::Widget

new(parent : Widget, x : Int32 = 0, y : Int32 = 0, width : Int32 = 1, height : Int32 = 1) new

Class methods inherited from class TextUi::Widget

text_dimensions(text : String, max_width = -1, max_height = -1) text_dimensions

Constructor Detail

def self.new(parent) #

[View source]

Instance Method Detail

def add_shortcut(shortcut, label) #

[View source]
def error(message : String) #

[View source]
def info(message : String) #

[View source]
def render #

[View source]
def shortcut_format : Format #

[View source]
def shortcut_format=(shortcut_format : Format) #

[View source]