mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 20:50:12 +00:00
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:
parent
b5d0e6b849
commit
b189dbfb92
@ -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:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user