constructor
adds string to the log, and scrolls down to it. newline character is not allowed
clears the log
background and text color
minimum width
maximum width
minimum height
maximum height
viewport coordinates. (drawable area for widget)
viewport size. (drawable area for widget)
If a coordinate is within writing area, and writing area actually exists
move seek for next write to terminal. can only write in between: (_viewX .. _viewX + _viewWidth, _viewY .. _viewX + _viewHeight)
writes a character on terminal
writes a (d)string to terminal. if it does not fit in one line, it is wrapped
fill current line with a character. max is ignored if max==0
activate the passed widget if this is actually the correct widget
called by itself, to update events subscribed to
called by children when they want to re-subscribe to events
to set cursor position on terminal. will only work if this is active widget. set x or y or both to negative to hide cursor
called to request to scrollX
called to request to scrollY
Called after UI has been run
Called when mouse is clicked with cursor on this widget.
Called when key is pressed and this widget is active.
Called when widget size is changed, or widget should recalculate it's child widgets' sizes;
Called when the widget is rescrolled, but size not changed.
called right after this widget is activated, or de-activated
called often. msecs is the msecs since last timerEvent, not accurate
Called to update this widget
To request parent to trigger an update event
To request parent to trigger a resize event
use to change the custom initialize event
use to change the custom mouse event
use to change the custom keyboard event
use to change the custom resize event
use to change the custom activate event
use to change the custom timer event
specifies ratio of height or width (depending on parent layout type)
visibility of the widget.
horizontal scroll.
vertical scroll.
width of widget
fixed width setter. This will actually do minWidth=maxWidth=value and call requestResize
height of widget
fixed height setter. This will actually do minHeight=maxHeight=value and call requestResize
minimum width
minimum height
maximum width
maximum height
Displays an un-scrollable log
It's content cannot be modified by user, like a MemoWidget with editing disabled, but automatically scrolls down as new lines are added, and it wraps long lines.