fltk::Output Class Reference

Inherits fltk::Input.

Inherited by fltk::MultiLineOutput, and fltk::WordwrapOutput.

List of all members.

Public Member Functions

int handle (int)
 Output (int x, int y, int w, int h, const char *l=0)

Static Public Attributes

static NamedStyledefault_style

Detailed Description

text.gif

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.


Member Data Documentation

Output has it's own style so the color can be set to gray like Motif-style programs want.

Reimplemented from fltk::Input.