[gtk/ebassi/for-master] docs: Annotate GtkBuildableParser
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/for-master] docs: Annotate GtkBuildableParser
- Date: Tue, 1 Dec 2020 17:29:19 +0000 (UTC)
commit d820fea7a4b53521aaade5e24b7338d569b21a09
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Dec 1 17:21:45 2020 +0000
docs: Annotate GtkBuildableParser
gtk/gtkbuildable.h | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkbuildable.h b/gtk/gtkbuildable.h
index 84008c9ff5..058845caba 100644
--- a/gtk/gtkbuildable.h
+++ b/gtk/gtkbuildable.h
@@ -39,6 +39,15 @@ typedef struct _GtkBuildableIface GtkBuildableIface;
typedef struct _GtkBuildableParseContext GtkBuildableParseContext;
typedef struct _GtkBuildableParser GtkBuildableParser;
+/**
+ * GtkBuildableParser:
+ * @start_element: function called for open elements
+ * @end_element: function called for close elements
+ * @text: function called for character data
+ * @error: function called on error
+ *
+ * A sub-parser for #GtkBuildable implementations.
+ */
struct _GtkBuildableParser
{
/* Called for open tags <foo bar="baz"> */
@@ -70,6 +79,7 @@ struct _GtkBuildableParser
GError *error,
gpointer user_data);
+ /*< private >*/
gpointer padding[4];
};
@@ -158,7 +168,7 @@ struct _GtkBuildableIface
* @builder: a #GtkBuilder used to construct this object
* @child: (nullable): child object or %NULL for non-child tags
* @tagname: name of tag
- * @parser: (out): a #GMarkupParser to fill in
+ * @parser: (out): a #GtkBuildableParser to fill in
* @data: (out): return location for user data that will be passed in
* to parser functions
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]