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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates the watched expression and on success stores the result
in `value`.static ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeref()Acquires a reference on the given `GtkExpressionWatch`.voidunref()Releases a reference on the given `GtkExpressionWatch`.voidunwatch()Stops watching an expression.Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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()
-