mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
docs: Clarify that <lookup> tags can be nested.
This commit is contained in:
parent
bcab0e4254
commit
5c2e2977e0
@ -136,6 +136,11 @@
|
||||
* <lookup name='search'>string_filter</lookup>
|
||||
* ```
|
||||
*
|
||||
* Since the `<lookup>` element creates an expression and its element content can
|
||||
* itself be an expression, this means that `<lookup>` tags can also be nested.
|
||||
* This is a common idiom when dealing with `GtkListItem`s. See
|
||||
* [class@Gtk.BuilderListItemFactory] for an example of this technique.
|
||||
*
|
||||
* To create a constant expression, use the `<constant>` element. If the type attribute
|
||||
* is specified, the element content is interpreted as a value of that type. Otherwise,
|
||||
* it is assumed to be an object. For instance:
|
||||
|
Loading…
Reference in New Issue
Block a user