Inherited by fltk::MultiLineOutput, and fltk::WordwrapOutput.
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.
Public Member Functions | |
| int | handle (int) |
| Output (int x, int y, int w, int h, const char *l=0) | |
Static Public Attributes | |
| static NamedStyle * | default_style |
NamedStyle * Output::default_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.
©2007 Bill Spitzak and others.