[libadwaita/wip/cdavis/prefs-group-buildable-docs: 7/7] preferencesgroup: Document GtkBuildable behavior
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/cdavis/prefs-group-buildable-docs: 7/7] preferencesgroup: Document GtkBuildable behavior
- Date: Mon, 27 Dec 2021 08:20:33 +0000 (UTC)
commit 5f669344c350a005125da705a8a408ef2fbf1f9b
Author: Christopher Davis <christopherdavis gnome org>
Date: Fri Dec 24 15:15:21 2021 -0800
preferencesgroup: Document GtkBuildable behavior
src/adw-preferences-group.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/adw-preferences-group.c b/src/adw-preferences-group.c
index 2290e863..320ea0b3 100644
--- a/src/adw-preferences-group.c
+++ b/src/adw-preferences-group.c
@@ -29,6 +29,12 @@
* title and a description. The title will be used by
* [class@Adw.PreferencesWindow] to let the user look for a preference.
*
+ * ## AdwPreferencesGroup as GtkBuildable
+ *
+ * The `AdwPreferencesGroup` implementation of the [iface@Gtk.Buildable] interface
+ * will add [class@PreferencesRow]s to the group's list. If a child is not a
+ * [class@PreferencesRow] the child is added to a box below the list.
+ *
* ## CSS nodes
*
* `AdwPreferencesGroup` has a single CSS node with name `preferencesgroup`.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]