infobar: Update buildable docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 18 Aug 2021 21:42:54 +0000 (17:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 18 Aug 2021 21:42:54 +0000 (17:42 -0400)
Document the current state of GtkBuilder support in
GtkInfoBar, not what we had in GTK3.

Fixes: #4164
gtk/gtkinfobar.c

index 2823f8afc131d5afa3df1822b5166df5a6495183..452c64fbc41d0251d73d04c035473b4f51811b5b 100644 (file)
  *
  * # 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