Overview Scripts tileedit | leveledit | tganew | levelfancy Reference algo | ani | engine | fonts | high | html | layout | text | timer | vid Tutorials 1 | 2 | 3 | 4 | 5 GUI Ref. theme | style | widget | surface | const Containers container | app | table | document | area Forms form | group Widgets basic | button | input | keysym | slider | select | misc Other menus | dialog Tutorials 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
gui.document
Document
A document is a container that structures widgets in a left-to-right flow.
Document.add
Add a widget to the document flow.
Arguments:
e -- widget
align -- alignment (None,-1,0,1)
Document.block
Start a new block given the alignment (-1, 0, 1)
Document.space
Add a spacer given the size.
Document.br
Add a line break, given the height.
|