constructor
override cursor position
Returns true if memo's contents cannot be modified, by user
sets whether to allow modifying of contents (false) or not (true)
returns a list of lines in memo
background and text colors
size of this widget
whether this widget should be drawn or not
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
specifies whether this widget should receive the Tab key press, default is false, and should only be changed to true if only required, for example, in text editors
whether the widget wants input
used to write to terminal
For cycling between widgets. Returns false, always.
activate the passed widget if this is actually the correct widget, return if it was activated or not
changes the key used for cycling active widgets
custom onInit event, if not null, it should be called before doing anything else in init();
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.
custom resize event, if not null, it should be called before doing anything else in the resizeEvent
custom onActivate event, if not null, it should be called before doing anything else in activateEvent
custom onTimer event, if not null, it should be called before doing anything else in timerEvent
Called by parent to update this widget
Called after _display has been set and this widget is ready to be used
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 right after this widget is activated, or de-activated, i.e: is made _activeWidget, or un-made _activeWidget
called often. msecs is the msecs since last timerEvent, not accurate
Called by itself when it needs to request an update
Called to request this widget to resize at next update
Called by itself (not necessarily) to register itself as a key handler
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
size of width (height/width, depending of Layout.Type it is in) of this widget, in ratio to other widgets in that layout
visibility of the widget. getter
visibility of the widget. setter
size of the widget. getter **NOTE: call this.requestResize() if you change the size!**
size of the widget. setter
Can be used as a simple text editor, or to just display text