Constructor
Gtk.PropertyExpression.new
Declaration [src]
GtkExpression*
gtk_property_expression_new (
GType this_type,
GtkExpression* expression,
const char* property_name
)
Description [src]
Creates an expression that looks up a property via the
given expression
or the this
argument when expression
is NULL
.
If the resulting object conforms to this_type
, its property named
property_name
will be queried. Otherwise, this expression’s
evaluation will fail.
The given this_type
must have a property with property_name
.
Parameters
this_type |
GType |
The type to expect for the this type |
|
expression |
GtkExpression |
Expression to
evaluate to get the object to query or |
|
Can be NULL | |
Ownership of the data is transferred to the callee | |
property_name |
const char* |
name of the property |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string |
Return value
Returns: GtkPropertyExpression |
|
a new |
|
Ownership of the data is transferred to the caller |