class

Tui::WindowManager::WindowNode

Inherits Tui::WindowManager::LayoutNode / Reference / Object

Window node - leaf containing actual content

Constructors

new(title : String = "", id : String = WindowManager.next_id)
Source

Instance methods

all_windows
Source
blur
Source
border_color
Source
border_color=(border_color : Color)
Source
border_focused_color
Source
border_focused_color=(border_focused_color : Color)
Source
content
Source
content=(widget : Widget | Nil)
Source
content_bg
Source
content_bg=(content_bg : Color)
Source
content_rect
Source
find_window(id : String) : WindowNode | Nil
Source
focus
Source
focused
Source
focused=(focused : Bool)
Source
focused_window
Source
handle_event(event : Event) : Bool
Source
render(buffer : Buffer, clip : Rect) : Nil
Source
show_title
Source
show_title=(show_title : Bool)
Source
title
Source
title=(title : String)
Source
title_bg
Source
title_bg=(title_bg : Color)
Source
title_fg

Style

Source
title_fg=(title_fg : Color)

Style

Source
title_focused_bg
Source
title_focused_bg=(title_focused_bg : Color)
Source
title_focused_fg
Source
title_focused_fg=(title_focused_fg : Color)
Source