#include <uboxes.hpp>
Inheritance diagram for ubit::UFlowbox:
Public Member Functions | |
UFlowbox (const UArgs &a=UArgs::none) | |
create a new flowbox (a box that displays string and other objects as a continous flow). | |
Static Public Member Functions | |
static UStyle * | createStyle () |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!). | |
Friends | |
UFlowbox & | uflowbox (const UArgs &args=UArgs::none) |
creator shortcut that returns *new UFlowbox(args). |
Base class for creating text areas or hypermedia gadgets.
Geometry: the width of a UFlowbox object does do not change when its content is modified. This behavior differs from those of most other boxes. It is generally well suited for displaying/editing text (UTexfield and UTextarea enforce this behavior)
Implementation note: a UFlowbox is an UBox with UFlowview renderer.
UStyle * ubit::UFlowbox::createStyle | ( | ) | [static] |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).
this macro defines the UClass that corresponds to this class and:
Reimplemented from ubit::UBox.
Reimplemented in ubit::UTcell.