From: Matthias Clasen Date: Wed, 18 Aug 2021 21:42:54 +0000 (-0400) Subject: infobar: Update buildable docs X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~1^2~11^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1599b659cff53b3e69a265ca33ad79a23171433a;p=gtk4.git infobar: Update buildable docs Document the current state of GtkBuilder support in GtkInfoBar, not what we had in GTK3. Fixes: #4164 --- 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 element, which can contain * multiple 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 `` element. The widget will be added + * either to the action area. The response id has to be associated + * with the action widget using the `` element. + * * # CSS nodes * * `GtkInfoBar` has a single CSS node with name infobar. The node may get