Frame

NAME

Terminal::UI::Frame -- A border, which may have several panes

DESCRIPTION

A frame is like a window frame -- it represents the border, and may have several panes within it.

ATTRIBUTES

  • $!focused (Terminal::UI::Pane)

    The focused pane

  • $!height (Terminal::UI::Frame::UInt)

    Number of rows, including the top and bottom borders

  • $!height-computer (Mu)

    A function to compute an array of heights of panes, given the screen height.

  • $!left (Terminal::UI::Frame::UInt)

    Offset from the left of the screen. A maximized frame has left == 1.

  • $!name (Mu)

    A name for this frame (optional)

  • $!number-of-dividers (Mu)

    Number of dividers. Will be number of panes - 1, when panes are added.

  • $!screen (Mu)

    The screen associated with the frame.

  • $!top (Terminal::UI::Frame::UInt)

    Offset from the top of the screen. A maximized frame has top == 1.

  • $!width (Terminal::UI::Frame::UInt)

    Number of columns

  • %!border (Associative)

    Characters for drawing the frame border.

  • @!dividers (Positional[Terminal::UI::Frame::UInt])

    List of rows with dividers in the frame.

  • @!panes (Positional[Terminal::UI::Pane])

    The panes for the frame.

METHODS

Terminal::UI v0.1.13

A framework for building terminal interfaces

Authors

  • Brian Duggan

License

MIT

Dependencies

Terminal::ANSI:ver<0.0.24>Log::AsyncTerminal::ANSIParserUnicode::UTF8-Parser

Test Dependencies

Provides

  • Terminal::UI
  • Terminal::UI::Alerts
  • Terminal::UI::Frame
  • Terminal::UI::Input
  • Terminal::UI::Pane
  • Terminal::UI::Screen
  • Terminal::UI::Style
  • Terminal::UI::Utils

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.