PropertyExpression

A GObject property value in a GtkExpression.

Constructors

this
this(GtkPropertyExpression* gtkPropertyExpression, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(GType thisType, Expression expression, string propertyName)

Creates an expression that looks up a property via the given expression or the this argument when expression is NULL.

this
this(Expression expression, ParamSpec pspec)

Creates an expression that looks up a property via the given expression or the this argument when expression is NULL.

Members

Functions

getExpression
Expression getExpression()

Gets the expression specifying the object of a property expression.

getPropertyExpressionStruct
GtkPropertyExpression* getPropertyExpressionStruct(bool transferOwnership)

Get the main Gtk struct

getPspec
ParamSpec getPspec()

Gets the GParamSpec specifying the property of a property expression.

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkPropertyExpression
GtkPropertyExpression* gtkPropertyExpression;

the main Gtk struct

Inherited Members

From Expression

gtkExpression
GtkExpression* gtkExpression;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.
getExpressionStruct
GtkExpression* getExpressionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

~this
~this()
Undocumented in source.
getType
GType getType()
bind
ExpressionWatch bind(ObjectG target, string property, ObjectG this_)

Bind target's property named property to self.

evaluate
bool evaluate(ObjectG this_, Value value)

Evaluates the given expression and on success stores the result in @value.

getValueType
GType getValueType()

Gets the GType that this expression evaluates to.

isStatic
bool isStatic()

Checks if the expression is static.

doref
alias doref = ref_
Undocumented in source.
ref_
Expression ref_()

Acquires a reference on the given GtkExpression.

unref
void unref()

Releases a reference on the given GtkExpression.

watch
ExpressionWatch watch(ObjectG this_, GtkExpressionNotify notify, void* userData, GDestroyNotify userDestroy)

Installs a watch for the given expression that calls the notify function whenever the evaluation of self may have changed.

Meta