ObjectExpression

A GObject value in a GtkExpression.

Constructors

this
this(GtkObjectExpression* gtkObjectExpression, bool ownedRef)

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

this
this(ObjectG object)

Creates an expression evaluating to the given object with a weak reference.

Members

Functions

getObject
ObjectG getObject()

Gets the object that the expression evaluates to.

getObjectExpressionStruct
GtkObjectExpression* getObjectExpressionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkObjectExpression
GtkObjectExpression* gtkObjectExpression;

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