From 20ab318875618c06985ff877e99535514f8abead Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 6 Nov 2019 11:09:34 +0100 Subject: Link Doxygen doc of Fl_Widget::label(text) to relevant part of FLTK programming manual. --- FL/Fl_Widget.H | 5 +++-- 1 file 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. -- cgit v1.2.3