Package: gtk

Function gtk:property-expression-new

Lambda List

gtk:property-expression-new (gtype expression property)

Arguments

gtype -- a g:type-t type ID to expect for the this type
expression -- a gtk:expression instance to evaluate to get the object to query or nil to query the this object
property -- a string with the name of the property

Return Value

The new gtk:expression instance.

Details

Creates an expression that looks up a property via the given expression or the this argument when expression is nil. If the resulting object conforms to gtype, its property named property will be queried. Otherwise, this expression's evaluation will fail. The given gtype must have a property with property.
 

See also

2024-8-16