Inherits fltk::Input.
Inherited by fltk::MultiLineOutput, and fltk::WordwrapOutput.
Public Member Functions | |
int | handle (int) |
Static Public Attributes | |
static NamedStyle * | default_style = &::style |
Private Member Functions | |
virtual bool | replace (int, int, const char *, int) |
This widget displays a piece of text. When you set the value(), it does a strcpy() to it's own storage, which is useful for program-generated values. You can also call static_value() if you know the original text will not be deleted. The text may contain any characters except nul. Any control characters less than 32 will display in ^X notation. Other characters are drawn without any changes.
The user may select portions of the text using the mouse and paste the contents into other fields or programs.
int Output::handle | ( | int | event | ) | [virtual] |
Calls handle(x,y,w,h) with the area inside the box().
Reimplemented from fltk::Input.
bool Output::replace | ( | int | , |
int | , | ||
const char * | , | ||
int | |||
) | [private, virtual] |
Always returns false, thus disallowing all editing.
Reimplemented from fltk::Input.
NamedStyle * Output::default_style = &::style [static] |
Output has it's own style so the color can be set to gray like Motif-style programs want.
Reimplemented from fltk::Input.