[gtk/ebassi/docs-for-master: 5/20] docs: Add missing documentation for GtkTextCharPredicate




commit 42ec2739563111a9ad87b4816b5e69147cf1e6f5
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Dec 16 15:16:51 2020 +0000

    docs: Add missing documentation for GtkTextCharPredicate

 gtk/gtktextiter.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h
index d47f0cfba2..c2ffd35c20 100644
--- a/gtk/gtktextiter.h
+++ b/gtk/gtktextiter.h
@@ -355,6 +355,17 @@ GDK_AVAILABLE_IN_ALL
 gboolean gtk_text_iter_backward_to_tag_toggle (GtkTextIter *iter,
                                                GtkTextTag  *tag);
 
+/**
+ * GtkTextCharPredicate:
+ * @ch: a Unicode code point
+ * @user_data: data passed to the callback
+ *
+ * The predicate function used by gtk_text_iter_forward_find_char() and
+ * gtk_text_iter_backward_find_char().
+ *
+ * Returns: %TRUE if the predicate is satisfied, and the iteration should
+ *   stop, and %FALSE otherwise
+ */
 typedef gboolean (* GtkTextCharPredicate) (gunichar ch, gpointer user_data);
 
 GDK_AVAILABLE_IN_ALL


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]