fltk::Output Class Reference

Inherits fltk::Input.

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

List of all members.


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.


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


Member Data Documentation

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.


Fri Apr 2 15:19:55 2010. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.