fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_Output Class Reference

#include <Fl_Output.H>

Inheritance diagram for Fl_Output:
Collaboration diagram for Fl_Output:

List of all members.

Public Member Functions

 Fl_Output (int X, int Y, int W, int H, const char *l=0)

Detailed Description

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.

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.

Definition at line 53 of file Fl_Output.H.


Constructor & Destructor Documentation

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.

Definition at line 60 of file Fl_Output.H.

References FL_NORMAL_OUTPUT, and Fl_Widget::type().


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