Class Input

(back to index)

Single line text input field.

Inherits from Input_

Subclasses: Float_Input  Int_Input  Multiline_Input  Secret_Input  


This is the FLTK text input widget. It displays a single line of text and lets the user edit it. Normally it is drawn with an inset box and a white background. The text may contain any characters (even 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 assummes the font can draw any characters in the ISO8859-1 character set.

The when property controls when callbacks are performed. The following values are useful:

The default is When.release.
doctool generated at Sun Aug 12 22:23:18 2001