adds string to the log, and scrolls down to it
clears the log
specifies position of this widget
size of this widget
caption of this widget, it's up to the widget how to use this, progressbarWidget shows this inside the bar...
whether this widget should be drawn or not
to specify if this widget needs to be updated or not, mark this as true when the widget has changed
specifies name of this widget. must be unique, as it is used to identify widgets in theme
specifies that how much height (in horizontal layout) or width (in vertical) is given to this widget. The ratio of all widgets is added up and height/width for each widget is then calculated using this
The theme that is currently used
Called by widget when a redraw is needed, but no redraw is scheduled
Called by widgets (usually keyboard-input-taking) to position the cursor
custom mouse event, if not null, it should be called before doing anything else in mouseEvent.
custom keyboard event, if not null, it should be called before doing anything else in keyboardEvent.
Called by owner when mouse is clicked with cursor on this widget.
Called by owner when key is pressed and this widget is active.
Called by owner to update.
Called by owner to indicate that widget has to 're-fetch' colors from the theme.
use to change the custom mouse event
use to change the custom keyboard event
The name of the widget. Read-only, cannot be modified
caption of the widget. setter
caption of the widget. getter
position of the widget. getter
position of the widget. setter
size (width/height) of the widget. getter
size (width/height) of the widget. setter
visibility of the widget. getter
visibility of the widget. setter
theme of the widget. getter
theme of the widget. setter
called by owner to set the forceUpdate function, which is used to force an update immediately.
called by the owner to set the cursorPos function, which is used to position the cursor on the terminal.
size of the widget. getter
size of the widget. setter
Displays an un-scrollable log, that removes older lines
It's content cannot be modified by user.
Name in theme: 'log';