FLTK 1.3.2
Fl_Output Class Reference

This widget displays a piece of text. More...

#include <Fl_Output.H>

Inheritance diagram for Fl_Output:
Fl_Input Fl_Input_ Fl_Widget Fl_Multiline_Output

List of all members.

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.

Detailed Description

This widget displays a piece of text.

When you set the value() , Fl_Output does a strcpy() to its 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.

text.png

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.


Constructor & Destructor Documentation

Fl_Output::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.

The default boxtype is FL_DOWN_BOX.

Inherited destructor destroys the widget and any value associated with it.


The documentation for this class was generated from the following files: