Class DoubleBlock
A specialized Block which contains two SpaceBlocks and allows children to be added to either.
Info:
- License: MIT
- Author: Richard Voelker
Properties
DoubleBlock.TOP | Constant for adding children to the top Block. |
DoubleBlock.BOTTOM | Constant for adding children to the bottom Block. |
Methods
DoubleBlock.AddChild (self, block, child) | Adds a child to either of the two Blocks. |
DoubleBlock.MiddleRender (self) |
Properties
- DoubleBlock.TOP
- Constant for adding children to the top Block.
- DoubleBlock.BOTTOM
- Constant for adding children to the bottom Block.
Methods
- DoubleBlock.AddChild (self, block, child)
-
Adds a child to either of the two Blocks.
Parameters:
- self DoubleBlock
- block
string
One of DoubleBlock.TOP or
DoubleBlock.BOTTOM
- child Block/Line The child to add.
Returns:
-
string
The code that will be added to the buffer
that will be added in between the content of the two <a href="../classes/Block.html#">Block</a>s.
- DoubleBlock.MiddleRender (self)
-
Parameters:
- self DoubleBlock
Returns:
-
string
The code that will be added to the buffer
that will be added in between the content of the two <a href="../classes/Block.html#">Block</a>s.