Box

Defines a dynamically arranged collection of Frames.

Summary
BoxDefines a dynamically arranged collection of Frames.
Functions
new
New BoxA container that holds and maintains a dynamically arranged collection of Frames.
Variables
modeThe alignment of the Frames within the Box.
framesHolds this Box’s Frames.
background_frameThe Frame containing all other Frames.
Functions
updateFrames()Updates the Box’s Frames based on BoxMode.
Properties
Box Properties

Functions

new

local function new (_,
name,
init_mode,
init_back,
init_frames)

Parameters

nameThe name of the Box and the automatically generated container Frame.
init_modeAlignment of Frames.  Defaults to Horizontal.
init_backThe background Frame for this Box.
init_framesA numerically indexed table holding the Frames this Box contains.

New Box

A container that holds and maintains a dynamically arranged collection of Frames.

Summary
Variables
modeThe alignment of the Frames within the Box.
framesHolds this Box’s Frames.
background_frameThe Frame containing all other Frames.
Functions
updateFrames()Updates the Box’s Frames based on BoxMode.
Properties
Box Properties

Variables

mode

local mode

The alignment of the Frames within the Box.

frames

local frames

Holds this Box’s Frames.

background_frame

local background_frame

The Frame containing all other Frames.

Functions

updateFrames()

local function updateFrames()

Updates the Box’s Frames based on BoxMode.

Properties

Box Properties

NameReturns the Box’s name.
BackgroundExposes the Box’s background Frame.
FramesReturns a copy of the Box’s Frames.
ContainerGets and sets the parent Frame of this Box.
ModeGets and sets the Box’s BoxMode.
local function new (_,
name,
init_mode,
init_back,
init_frames)
local mode
The alignment of the Frames within the Box.
local frames
Holds this Box’s Frames.
local background_frame
The Frame containing all other Frames.
local function updateFrames()
Updates the Box’s Frames based on BoxMode.
Close