diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-07-23 16:28:19 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-07-23 16:28:19 +0000 |
| commit | d453884e0ffdc49bf42f373581210d95d56a0985 (patch) | |
| tree | 542a5a5c58704b8c8a1b1eefeda511b13aaff750 /documentation | |
| parent | 745cd4204a3d9cc379e99db6f6cf9d75d4337c3b (diff) | |
Add wrap() method and bit for Fl_Input_, and make word wrap dependent
on this (wrap margin is the width of the widget less box borders)
Don't select the text in value() for a readonly() (output) field.
Display a caret instead of a vertical bar for the cursor in output fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl_Input_.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/documentation/Fl_Input_.html b/documentation/Fl_Input_.html index 18aff8a0f..72792528f 100644 --- a/documentation/Fl_Input_.html +++ b/documentation/Fl_Input_.html @@ -41,6 +41,13 @@ setting <TT>type()</TT> to one of the following values:</P> #define FL_INT_INPUT 2 #define FL_MULTILINE_INPUT 4 #define FL_SECRET_INPUT 5 +#define FL_INPUT_TYPE 7 +#define FL_INPUT_READONLY 8 +#define FL_NORMAL_OUTPUT (FL_NORMAL_INPUT | FL_INPUT_READONLY) +#define FL_MULTILINE_OUTPUT (FL_MULTILINE_INPUT | FL_INPUT_READONLY) +#define FL_INPUT_WRAP 16 +#define FL_MULTILINE_INPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_WRAP) +#define FL_MULTILINE_OUTPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP) </PRE></UL> <H3>Methods</H3> @@ -79,7 +86,7 @@ setting <TT>type()</TT> to one of the following values:</P> <UL> <LI><A href="#Fl_Input_.undo">undo</A></LI> <LI><A href="#Fl_Input_.up_down_position">up_down_position</A></LI> -<LI><A href="#Fl_Input_.wordboundary">wordboundary</A></LI> +<LI><A href="#Fl_Input_.wrap">wrap</A></LI> </UL> </TD></TR> </TABLE> @@ -243,5 +250,11 @@ information to the clipboard. This is used to make ^K work. <P>Gets or sets the read-only state of the input field. +<H4><A name="Fl_Input_.wrap">int Fl_Input_::wrap() const +<BR>void Fl_Input_::wrap(int)</A></H4> + +<P>Gets or sets the word wrapping state of the input field. Word +wrap is only functional with multi-line input fields. + </BODY> </HTML> |
