diff --git a/documentation/Fl_Input.html b/documentation/Fl_Input.html index 504bf0697..aba00ad86 100644 --- a/documentation/Fl_Input.html +++ b/documentation/Fl_Input.html @@ -1,10 +1,15 @@ -
+ + + ++ +
Fl_Input_
|
+----Fl_Input
@@ -12,22 +17,23 @@
+----Fl_File_Input, Fl_Float_Input,
Fl_Int_Input, Fl_Multiline_Input,
Fl_Output, Fl_Secret_Input
-
-
+
+
+ +
#include <FL/Fl_Input.H> -- + +
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 assumes the font can draw any characters in the -ISO-8859-1 character set. + +
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 assumes the +font can draw any characters in the ISO-8859-1 character set.
| @@ -260,78 +267,115 @@ inserted. |
The second two forms change the text and set the mark and the point -to the end of it. The string is copied to the internal buffer. Passing -NULL is the same as "". This returns non-zero if the new value is -different than the current one. You can use the second version to -directly set the length if you know it already or want to put nul's in -the text.
-Creates a new Fl_Input widget using the given position, size, +and label string. The default boxtype is FL_DOWN_BOX. + +
Destroys the widget and any value associated with it. + +
The first form returns the current value, which is a pointer +to the internal buffer and is valid only until the next event is +handled. + +
The second two forms change the text and set the mark and the +point to the end of it. The string is copied to the internal +buffer. Passing NULL is the same as "". +This returns non-zero if the new value is different than the +current one. You can use the second version to directly set the +length if you know it already or want to put nul's in the +text.
+ +Change the text and set the mark and the point to the end of +it. The string is not copied. If the user edits the +string it is copied to the internal buffer then. This can save a +great deal of time and memory if your program is rapidly +changing the values of text fields, but this will only work if +the passed string remains unchanged until either the +Fl_Input is destroyed or value() is called +again. + +
Returns the number of characters in value(). This +may be greater than strlen(value()) if there are nul +characters in it. + +
Same as value()[n], but may be faster in plausible +implementations. No bounds checking is done. + +
Controls when callbacks are done. The following values are useful, +the default value is FL_WHEN_RELEASE: + +
Gets or sets the color of the text in the input field. + +
Gets or sets the font of the text in the input field. + +
Gets or sets the size of the text in the input field. + +
Get or set the color of the cursor. This is black by default. + + + diff --git a/documentation/Fl_Input_.html b/documentation/Fl_Input_.html index 3cab358cb..34858f636 100644 --- a/documentation/Fl_Input_.html +++ b/documentation/Fl_Input_.html @@ -1,176 +1,247 @@ -
+ + + ++ +
Fl_Widget
|
+----Fl_Input_
|
+----Fl_Input
-
-
+
+
+ +
#include <FL/Fl_Input_.H> -- + +
This is a virtual base class below Fl_Input. It has all +the same interfaces, but lacks the handle() and +draw() method. You may want to subclass it if you are +one of those people who likes to change how the editing keys work. -
This can act like any of the subclasses of Fl_Input, by setting -type() to one of the following values:
-+ +This can act like any of the subclasses of Fl_Input, by +setting type() to one of the following values:
+ +
#define FL_NORMAL_INPUT 0 #define FL_FLOAT_INPUT 1 #define FL_INT_INPUT 2 #define FL_MULTILINE_INPUT 4 #define FL_SECRET_INPUT 5 -- + +