summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2025-07-26 13:44:41 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2025-07-26 13:44:41 +0200
commit87e299e776076e582fcac611e28641d50bfd0db9 (patch)
treea78d1814cafc2adc82b2dd6361aac49d7e3654a0 /src
parentb00ae1eee42c102f577189e7fb095a4a4ea37f02 (diff)
Update documentation (typos and minor corrections)
Diffstat (limited to 'src')
-rw-r--r--src/Fl_add_idle.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_add_idle.cxx b/src/Fl_add_idle.cxx
index 1d18d257f..1c3687173 100644
--- a/src/Fl_add_idle.cxx
+++ b/src/Fl_add_idle.cxx
@@ -119,7 +119,7 @@ int Fl::has_idle(Fl_Idle_Handler cb, void* data) {
The given idle callback is only removed if \p data matches the
value used when the idle callback was installed. If the idle
callback wants to remove itself, the value provided by the \p data
- variable can (and should) be used.
+ argument can (and should) be used.
Example for a "one-shot" idle callback, i.e. one that removes itself
when it is called for the first time.
@@ -147,6 +147,8 @@ int Fl::has_idle(Fl_Idle_Handler cb, void* data) {
}
\endcode
+ \param[in] cb idle callback in question
+ \param[in] data optional data. Default: zero / nullptr.
*/
void Fl::remove_idle(Fl_Idle_Handler cb, void* data) {
idle_cb* p = first;