ExpressionWatch

An opaque structure representing a watched GtkExpression.

The contents of GtkExpressionWatch should only be accessed through the provided API.

Constructors

this
this(GtkExpressionWatch* gtkExpressionWatch, bool ownedRef)

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

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

evaluate
bool evaluate(Value value)

Evaluates the watched expression and on success stores the result in value.

getExpressionWatchStruct
GtkExpressionWatch* getExpressionWatchStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

ref_
ExpressionWatch ref_()

Acquires a reference on the given GtkExpressionWatch.

unref
void unref()

Releases a reference on the given GtkExpressionWatch.

unwatch
void unwatch()

Stops watching an expression.

Static functions

getType
GType getType()

Variables

gtkExpressionWatch
GtkExpressionWatch* gtkExpressionWatch;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta