Package ch.bailu.gtk.gtk
Class ExpressionWatch
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.ExpressionWatch
- All Implemented Interfaces:
PointerInterface
An opaque structure representing a watched `GtkExpression`.
The contents of `GtkExpressionWatch` should only be accessed through the
provided API.
The contents of `GtkExpressionWatch` should only be accessed through the
provided API.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Evaluates the watched expression and on success stores the result
in `value`.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
ref()
Acquires a reference on the given `GtkExpressionWatch`.void
unref()
Releases a reference on the given `GtkExpressionWatch`.void
unwatch()
Stops watching an expression.Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
ExpressionWatch
-
-
Method Details
-
getClassHandler
-
evaluate
Evaluates the watched expression and on success stores the result
in `value`.
This is equivalent to calling [method@Gtk.Expression.evaluate] with the
expression and this pointer originally used to create `watch`.- Parameters:
value
- an empty `GValue` to be set- Returns:
- `TRUE` if the expression could be evaluated and `value` was set
-
ref
Acquires a reference on the given `GtkExpressionWatch`.- Returns:
- the `GtkExpressionWatch` with an additional reference
-
unref
public void unref()Releases a reference on the given `GtkExpressionWatch`.
If the reference was the last, the resources associated to `self` are
freed. -
unwatch
public void unwatch()Stops watching an expression.
See [method@Gtk.Expression.watch] for how the watch
was established. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-