expression: Document building "this" lookups

In the "GtkExpression in .ui files" section, mention that you can create
a property lookup for the "this" object by leaving the <lookup> element
empty.
This commit is contained in:
James Westman 2024-12-24 12:57:34 -06:00
parent b5d0e6b849
commit b189dbfb92
No known key found for this signature in database
GPG Key ID: CE2DBA0ADB654EA6

View File

@ -127,8 +127,9 @@
*
* To create a property expression, use the `<lookup>` element. It can have a `type`
* attribute to specify the object type, and a `name` attribute to specify the property
* to look up. The content of `<lookup>` can either be an element specifying the expression
* to use the object, or a string that specifies the name of the object to use.
* to look up. The content of `<lookup>` can either be a string that specifies the name
* of the object to use, an element specifying an expression to provide an object, or
* empty to use the `this` object.
*
* Example:
*