mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 12:41:27 +08:00
Link Doxygen doc of Fl_Widget::label(text) to relevant part of FLTK programming manual.
This commit is contained in:
+3
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user