Class: XMTextBufferWindow
(Direct child class of XMTextWindow)
The XMTextBufferWindow is just a XMTextWindow
with a scrollback buffer. So there's no new
functionality, just some functions behave different,
but just as you would expect it from a usual
telnet widget.
Example:
$win = new XMTextBufferWindow(); # it's still hidden
$win->move(0, 0);
$win->resizeChars(30, 10);
$win->show();
$win->setCursor(14, 9);
# this statement will cause the window to scroll
# down one line automagically. A scrollbar will
# appear at the widget's right side...
$win->print("Some nice heading\n");
# the next statement will cause the window
# to scroll to the beginning of the buffer.
# Unlinke XMTextWindow no new lines are
# inserted. You can only scroll within the
# filled area.
$win->scrollLines(-42);