Package ch.bailu.gtk.gdk
Klasse Seat
- Alle implementierten Schnittstellen:
PointerInterface
Represents a collection of input devices that belong to a user.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interfacestatic interfaceVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final StringVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintReturns the capabilities this `GdkSeat` currently has.static ClassHandlergetDevices(int capabilities) Returns the devices that match the given capabilities.Returns the `GdkDisplay` this seat belongs to.static intReturns the device that routes keyboard events.static longstatic TypeSystem.TypeSizeReturns the device that routes pointer events.getTools()Returns all `GdkDeviceTools` that are known to the application.static longstatic TypeSystem.TypeSizeonDeviceAdded(Seat.OnDeviceAdded signal) Connect to signal "device-added".onDeviceRemoved(Seat.OnDeviceRemoved signal) Connect to signal "device-removed".onToolAdded(Seat.OnToolAdded signal) Connect to signal "tool-added".onToolRemoved(Seat.OnToolRemoved signal) Connect to signal "tool-removed".Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrPropertyVon Klasse geerbte Methoden 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, weakUnrefVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_DEVICE_ADDED
- Siehe auch:
-
SIGNAL_ON_DEVICE_REMOVED
- Siehe auch:
-
SIGNAL_ON_TOOL_ADDED
- Siehe auch:
-
SIGNAL_ON_TOOL_REMOVED
- Siehe auch:
-
-
Konstruktordetails
-
Seat
-
-
Methodendetails
-
getClassHandler
-
getCapabilities
public int getCapabilities()Returns the capabilities this `GdkSeat` currently has.- Gibt zurück:
- the seat capabilities
-
getDevices
Returns the devices that match the given capabilities.- Parameter:
capabilities- capabilities to get devices for- Gibt zurück:
- A list of `GdkDevices`. The list must be freed with g_list_free(), the elements are owned by GTK and must not be freed.
-
getDisplay
Returns the `GdkDisplay` this seat belongs to.- Gibt zurück:
- a `GdkDisplay`. This object is owned by GTK and must not be freed.
-
getKeyboard
Returns the device that routes keyboard events.- Gibt zurück:
- a `GdkDevice` with keyboard capabilities. This object is owned by GTK and must not be freed.
-
getPointer
Returns the device that routes pointer events.- Gibt zurück:
- a `GdkDevice` with pointer capabilities. This object is owned by GTK and must not be freed.
-
getTools
Returns all `GdkDeviceTools` that are known to the application.- Gibt zurück:
- A list of tools. Free with g_list_free().
-
onDeviceAdded
Connect to signal "device-added".
SeeSeat.OnDeviceAdded.onDeviceAdded(ch.bailu.gtk.gdk.Device)for signal description.
FieldSIGNAL_ON_DEVICE_ADDEDcontains original signal name and can be used as resource reference.- Parameter:
signal- callback function (lambda).- Gibt zurück:
SignalHandler. Can be used to disconnect signal and to release callback function.
-
onDeviceRemoved
Connect to signal "device-removed".
SeeSeat.OnDeviceRemoved.onDeviceRemoved(ch.bailu.gtk.gdk.Device)for signal description.
FieldSIGNAL_ON_DEVICE_REMOVEDcontains original signal name and can be used as resource reference.- Parameter:
signal- callback function (lambda).- Gibt zurück:
SignalHandler. Can be used to disconnect signal and to release callback function.
-
onToolAdded
Connect to signal "tool-added".
SeeSeat.OnToolAdded.onToolAdded(ch.bailu.gtk.gdk.DeviceTool)for signal description.
FieldSIGNAL_ON_TOOL_ADDEDcontains original signal name and can be used as resource reference.- Parameter:
signal- callback function (lambda).- Gibt zurück:
SignalHandler. Can be used to disconnect signal and to release callback function.
-
onToolRemoved
Connect to signal "tool-removed".
SeeSeat.OnToolRemoved.onToolRemoved(ch.bailu.gtk.gdk.DeviceTool)for signal description.
FieldSIGNAL_ON_TOOL_REMOVEDcontains original signal name and can be used as resource reference.- Parameter:
signal- callback function (lambda).- Gibt zurück:
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()
-