Right, it just seems to come up as a FAQ.
I'll try going with a simple extra sentence in the intros, a \see reference,
and will add code examples to the Fl_Text_xxx widget intros.
Fl_Output_Multiline:
If you want scrollbars to appear when data exceeds the edges of
the widget, use Fl_Text_Display instead.
Fl_Input_Multiline
If you want scrollbars to appear when data exceeds the edges of
the widget, use Fl_Text_Editor instead.
Albrecht Schlosser wrote:
> Greg Ercolano wrote:
>> I'm thinking the docs for the 'old' multiline text widgets:
>>
>> Fl_Multiline_Output
>> Fl_Multiline_Input
>>
>> ..should probably refer people to the newer widgets:
>>
>> Fl_Text_Display
>> Fl_Text_Editor
>>
>> ..respectively, and the docs should probably show a simple
>> example of each along the lines of:
>> http://seriss.com/people/erco/fltk/#Fl_Text_Display
>
> I don't think that it's a matter of "old or new", it's just
> functionality. But a comment, maybe also \see ... would surely be
> useful. Examples and maybe screen shots are always nice to have.
>
>> Before I submit an STR and assign it to myself, thought I'd
>> ask opinions first.
>
> IMHO you don't need an STR to add something like you wrote in
> fltk.general: "If you want scrollbars, use Fl_Text_Display instead of
> Fl_Multiline_Output ...". But if you can't do it right now and like to
> have a reminder, well, then feel free to add an STR.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev