From: Emmanuele Bassi Date: Thu, 21 Sep 2023 14:27:35 +0000 (+0100) Subject: docs: Link GtkStringObject from GtkStringList X-Git-Tag: archive/raspbian/4.12.4+ds-3+rpi1^2~21^2~1^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=60560e527776de4f10121e4105dd13771364a8b3;p=gtk4.git docs: Link GtkStringObject from GtkStringList A frequently asked question is: "what is the object type inside a GtkStringList", so let's make the answer more obvious. --- diff --git a/gtk/gtkstringlist.c b/gtk/gtkstringlist.c index d7e7be3f81..55aa584b34 100644 --- a/gtk/gtkstringlist.c +++ b/gtk/gtkstringlist.c @@ -30,12 +30,13 @@ * * `GtkStringList` is a list model that wraps an array of strings. * - * The objects in the model have a "string" property. + * The objects in the model are of type [class@Gtk.StringObject] and have + * a "string" property that can be used inside expressions. * * `GtkStringList` is well-suited for any place where you would * typically use a `char*[]`, but need a list model. * - * # GtkStringList as GtkBuildable + * ## GtkStringList as GtkBuildable * * The `GtkStringList` implementation of the `GtkBuildable` interface * supports adding items directly using the `` element and