class fltk::MultilineOutput


Class Hierarchy

fltk::Output
   |
   +----fltk::MultilineOutput

Include Files

#include <fltk/MultilineOutput.h>

Description

This widget is a subclass of fltk::Output that displays multiple lines of text. It also displays Tab ('\t') characters as whitespace to the next column rather than as ^I.

Long lines of text will have to be horizontally scrolled, currently the only way to do this is to drag the mouse or move the cursor. You may want fltk::WordwrapOutput instead.

Because there are no scrollbars, this is probably only good for small bits of text, 10 lines at most. More powerful editing is available from the fltk::TextEditor widget.

Methods

fltk::MultilineOutput::MultilineOutput(int x, int y, int w, int h, const char *label = 0)

Creates a new fltk::MultilineOutput widget using the given position, size, and label string.

virtual fltk::MultilineOutput::~MultilineOutput()

Destroys the widget and any value associated with it.