public class GSource extends RefCountedObject
NativeObject.Initializer
defaultInit, LIFECYCLE, ownsHandle
Constructor and Description |
---|
GSource(NativeObject.Initializer init) |
Modifier and Type | Method and Description |
---|---|
int |
attach(GMainContext context) |
protected void |
disposeNativeHandle(com.sun.jna.Pointer ptr) |
protected void |
ref() |
void |
setCallback(java.util.concurrent.Callable<java.lang.Boolean> call) |
protected void |
unref() |
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor, toString
public GSource(NativeObject.Initializer init)
public int attach(GMainContext context)
public void setCallback(java.util.concurrent.Callable<java.lang.Boolean> call)
protected void ref()
ref
in class RefCountedObject
protected void unref()
unref
in class RefCountedObject
protected void disposeNativeHandle(com.sun.jna.Pointer ptr)
disposeNativeHandle
in class NativeObject