Skip to content

Modern Tui TuiFrame Area

Paul Squires edited this page Oct 19, 2026 · 6 revisions

Home › Terminal TUI Library › Buffer and Frame › TuiFrame.Area

TuiFrame.Area

Returns the whole screen as a rectangle at 0, 0, the start of every layout.

Syntax

TuiFrame.Area( ) as TuiRect

Description

The whole buffer, as a rect at 0,0. This is the root of every layout.

Example

#import "std/tui"
using tui

dim as TuiScreen scr
scr.Resize( 80, 24 )
dim as TuiFrame ptr f = scr.BeginFrame( )
dim as TuiRect a = f->Area( )
print a.x, a.y, a.w, a.h          '' 0 0 80 24

See also

TuiCell TuiCell.Equals TuiBuffer TuiBuffer.Clear TuiBuffer.At TuiFrame
TuiCell.SetChar TuiCellBlank TuiBuffer.Resize TuiBuffer.InBounds TuiBuffer.Count TuiFrame.Clip

Library: Terminal TUI Library
Category: Terminal TUI Library
Documented under: Buffer and Frame
Working examples: hello.tiko · form.tiko · dashboard.tiko


Home · Keyword Index

Clone this wiki locally