diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-11-06 11:09:34 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-11-06 11:09:34 +0100 |
| commit | 20ab318875618c06985ff877e99535514f8abead (patch) | |
| tree | 15e0c2551e03d19189dcc5113e6074f2993ebf41 | |
| parent | 4abb0d0a255a1a6b966cf98cb776e3bf76b4ea44 (diff) | |
Link Doxygen doc of Fl_Widget::label(text) to relevant part of FLTK programming manual.
| -rw-r--r-- | FL/Fl_Widget.H | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 45b90fe42..89ca2e80f 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -411,8 +411,9 @@ public: /** Sets the current label pointer. - The label is shown somewhere on or next to the widget. The passed pointer - is stored unchanged in the widget (the string is \em not copied), so if + The label is shown somewhere on or next to the widget. + See \ref common_labels for details about what can be put in a label. + The passed pointer is stored unchanged in the widget (the string is \em not copied), so if you need to set the label to a formatted value, make sure the buffer is static, global, or allocated. The copy_label() method can be used to make a copy of the label string automatically. |
