class

Termbox::Container

Inherits Termbox::Element < Reference < Object

A container is a "sandbox" for content

Constructors

new(pivot : Position, width : Int32, height : Int32)

Accepts a pivot (top left position), width, and height

Source

Instance methods

<<(el : Element)

Alias put (append operator)

Source
elements
Source
height
Source
height=(height : Int32)
Source
pivot
Source
pivot=(pivot : Termbox::Position)
Source
put(el : Element)
Source
render

Render as list of cells

Source
width
Source
width=(width : Int32)
Source