From 87e299e776076e582fcac611e28641d50bfd0db9 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 26 Jul 2025 13:44:41 +0200 Subject: Update documentation (typos and minor corrections) --- src/Fl_add_idle.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3