Package ch.bailu.gtk.gtk
Klasse EventControllerMotion
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gtk.EventController
ch.bailu.gtk.gtk.EventControllerMotion
- Alle implementierten Schnittstellen:
PointerInterface
Tracks the pointer position.
The event controller offers [signal@Gtk.EventControllerMotion::enter]
and [signal@Gtk.EventControllerMotion::leave] signals, as well as
[property@Gtk.EventControllerMotion:is-pointer] and
[property@Gtk.EventControllerMotion:contains-pointer] properties
which are updated to reflect changes in the pointer position as it
moves over the widget.
The event controller offers [signal@Gtk.EventControllerMotion::enter]
and [signal@Gtk.EventControllerMotion::leave] signals, as well as
[property@Gtk.EventControllerMotion:is-pointer] and
[property@Gtk.EventControllerMotion:contains-pointer] properties
which are updated to reflect changes in the pointer position as it
moves over the widget.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
FelderVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new event controller that will handle motion events.EventControllerMotion
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns if a pointer is within @self or one of its children.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
boolean
Returns if a pointer is within @self, but not one of its children.onEnter
(EventControllerMotion.OnEnter signal) Connect to signal "enter".onLeave
(EventControllerMotion.OnLeave signal) Connect to signal "leave".Connect to signal "motion".Von Klasse geerbte Methoden ch.bailu.gtk.gtk.EventController
getCurrentEvent, getCurrentEventDevice, getCurrentEventState, getCurrentEventTime, getName, getPropagationLimit, getPropagationPhase, getWidget, reset, setName, setName, setPropagationLimit, setPropagationPhase, setStaticName, setStaticName
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von 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, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_ENTER
- Siehe auch:
-
SIGNAL_ON_LEAVE
- Siehe auch:
-
SIGNAL_ON_MOTION
- Siehe auch:
-
-
Konstruktordetails
-
EventControllerMotion
-
EventControllerMotion
public EventControllerMotion()Creates a new event controller that will handle motion events.
-
-
Methodendetails
-
getClassHandler
-
containsPointer
public boolean containsPointer()Returns if a pointer is within @self or one of its children.- Gibt zurück:
- %TRUE if a pointer is within @self or one of its children
-
isPointer
public boolean isPointer()Returns if a pointer is within @self, but not one of its children.- Gibt zurück:
- %TRUE if a pointer is within @self but not one of its children
-
onEnter
Connect to signal "enter".
SeeEventControllerMotion.OnEnter.onEnter(double, double)
for signal description.
FieldSIGNAL_ON_ENTER
contains 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.
-
onLeave
Connect to signal "leave".
SeeEventControllerMotion.OnLeave.onLeave()
for signal description.
FieldSIGNAL_ON_LEAVE
contains 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.
-
onMotion
Connect to signal "motion".
SeeEventControllerMotion.OnMotion.onMotion(double, double)
for signal description.
FieldSIGNAL_ON_MOTION
contains 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()
-