module

Opal::UI

Reopen ScreenStack to enable direct screen buffer recording

Class methods

build

Builds an element tree from a block.

Source
dock

Creates and returns a DockContainer configured via DSL block

Source
grid(columns : Array(GridTrack | Int32 | Float64 | String) = [GridTrack.fr(1.0)], rows : Array(GridTrack | Int32 | Float64 | String) = [GridTrack.fr(1.0)], gutter_x : Int32 = 1, gutter_y : Int32 = 0, &) : GridContainer

Creates and returns a GridContainer configured via DSL block

Source
render(width : Int32 = 80, height : Int32 = 24, &) : String

Builds and renders an element tree to a string buffer.

Source
screen(name : String, title : String | Nil = nil, &) : Screen

Creates a Screen with declarative root composed via Builder block

Source

Nested types