TerminalWidget

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

handleFocusChange
void handleFocusChange(bool focused, bool receivedFocusFromKeyboard = false)

override to handle focus changes

layout
void layout(Rect rc)

Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).

measure
void measure(int parentWidth, int parentHeight)

Measure widget according to desired width and height constraints. (Step 1 of two phase layout).

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

onScrollEvent
bool onScrollEvent(AbstractSlider source, ScrollEvent event)

handle scroll event

Properties

deviceName
string deviceName [@property getter]

returns terminal/tty device (or named pipe for windows) name

echo
bool echo [@property getter]

check echo mode

echo
bool echo [@property setter]

set echo mode

Meta