public class GSource extends RefCountedObject
NativeObject.InitializerdefaultInit, 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, toStringpublic 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 RefCountedObjectprotected void unref()
unref in class RefCountedObjectprotected void disposeNativeHandle(com.sun.jna.Pointer ptr)
disposeNativeHandle in class NativeObject