Package ch.bailu.gtk.gtk
Class ATContext
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gtk.ATContext
- All Implemented Interfaces:
PointerInterface
`GtkATContext` is an abstract class provided by GTK to communicate to
platform-specific assistive technologies API.
Each platform supported by GTK implements a `GtkATContext` subclass, and
is responsible for updating the accessible state in response to state
changes in `GtkAccessible`.
platform-specific assistive technologies API.
Each platform supported by GTK implements a `GtkATContext` subclass, and
is responsible for updating the accessible state in response to state
changes in `GtkAccessible`.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ATContext
createATContext
(int accessible_role, Accessible accessible, Display display) Creates a new `GtkATContext` instance for the given accessible role,
accessible instance, and display connection.Retrieves the `GtkAccessible` using this context.int
Retrieves the accessible role of this context.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
onStateChange
(ATContext.OnStateChange signal) Connect to signal "state-change".Methods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
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
-
Field Details
-
SIGNAL_ON_STATE_CHANGE
- See Also:
-
-
Constructor Details
-
ATContext
-
-
Method Details
-
getClassHandler
-
createATContext
public static ATContext createATContext(int accessible_role, @Nonnull Accessible accessible, @Nonnull Display display) Creates a new `GtkATContext` instance for the given accessible role,
accessible instance, and display connection.
The `GtkATContext` implementation being instantiated will depend on the
platform.- Parameters:
accessible_role
- the accessible role used by the `GtkATContext`accessible
- the `GtkAccessible` implementation using the `GtkATContext`display
- the `GdkDisplay` used by the `GtkATContext`- Returns:
- the `GtkATContext`
-
getAccessible
Retrieves the `GtkAccessible` using this context.- Returns:
- a `GtkAccessible`
-
getAccessibleRole
public int getAccessibleRole()Retrieves the accessible role of this context.- Returns:
- a `GtkAccessibleRole`
-
onStateChange
Connect to signal "state-change".
SeeATContext.OnStateChange.onStateChange()
for signal description.
FieldSIGNAL_ON_STATE_CHANGE
contains original signal name and can be used as resource reference.- Parameters:
signal
- callback function (lambda).- Returns:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-