|
FLTK 1.3.0
|
This widget displays a piece of text. More...
#include <Fl_Output.H>
Public Member Functions | |
| Fl_Output (int X, int Y, int W, int H, const char *l=0) | |
| Creates a new Fl_Output widget using the given position, size, and label string. | |
This widget displays a piece of text.
When you set the value() , Fl_Output does a strcpy() to it's own storage, which is useful for program-generated values. The user may select portions of the text using the mouse and paste the contents into other fields or programs.
There is a single subclass, Fl_Multiline_Output, which allows you to display multiple lines of text. Fl_Multiline_Output does not provide scroll bars. If a more complete text editing widget is needed, use Fl_Text_Display instead.
The text may contain any characters except \0, and will correctly display anything, using ^X notation for unprintable control characters and \nnn notation for unprintable characters with the high bit set. It assumes the font can draw any characters in the ISO-Latin1 character set.
| Fl_Output::Fl_Output | ( | int | X, |
| int | Y, | ||
| int | W, | ||
| int | H, | ||
| const char * | l = 0 |
||
| ) | [inline] |
Creates a new Fl_Output widget using the given position, size, and label string.
The default boxtype is FL_DOWN_BOX.
Inherited destrucor destroys the widget and any value associated with it.