summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-18 17:42:54 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-18 17:42:54 -0400
commit1599b659cff53b3e69a265ca33ad79a23171433a (patch)
tree22f6b04cc2624aa6b3282d7094c82f3963acb064
parent03031b3dc1a43a9b0661661cebabf8bc0bf86abd (diff)
downloadgtk+-1599b659cff53b3e69a265ca33ad79a23171433a.tar.gz
infobar: Update buildable docs
Document the current state of GtkBuilder support in GtkInfoBar, not what we had in GTK3. Fixes: #4164
-rw-r--r--gtk/gtkinfobar.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 2823f8afc1..452c64fbc4 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -106,15 +106,16 @@
*
* # GtkInfoBar as GtkBuildable
*
- * The `GtkInfoBar` implementation of the `GtkBuildable` interface exposes
- * the content area and action area as internal children with the names
- * “content_area” and “action_area”.
- *
* `GtkInfoBar` supports a custom <action-widgets> element, which can contain
* multiple <action-widget> elements. The “response” attribute specifies a
* numeric response, and the content of the element is the id of widget
* (which should be a child of the dialogs @action_area).
*
+ * `GtkInfoBar` supports adding action widgets by specifying “action” as
+ * the “type” attribute of a `<child>` element. The widget will be added
+ * either to the action area. The response id has to be associated
+ * with the action widget using the `<action-widgets>` element.
+ *
* # CSS nodes
*
* `GtkInfoBar` has a single CSS node with name infobar. The node may get