Package ch.bailu.gtk.gtk
Klasse GestureRotate
- Alle implementierten Schnittstellen:
PointerInterface
Recognizes 2-finger rotation gestures.
Whenever the angle between both handled sequences changes, the
[signal@Gtk.GestureRotate::angle-changed] signal is emitted.
Whenever the angle between both handled sequences changes, the
[signal@Gtk.GestureRotate::angle-changed] signal is emitted.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gtk.Gesture
Gesture.OnBegin, Gesture.OnCancel, Gesture.OnEnd, Gesture.OnSequenceStateChanged, Gesture.OnUpdate
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.gtk.Gesture
SIGNAL_ON_BEGIN, SIGNAL_ON_CANCEL, SIGNAL_ON_END, SIGNAL_ON_SEQUENCE_STATE_CHANGED, SIGNAL_ON_UPDATE
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungReturns a newly created `GtkGesture` that recognizes 2-touch
rotation gestures.GestureRotate
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdouble
Gets the angle delta in radians.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Connect to signal "angle-changed".Von Klasse geerbte Methoden ch.bailu.gtk.gtk.Gesture
getBoundingBox, getDevice, getGroup, getLastEvent, getLastUpdatedSequence, getSequences, getSequenceState, group, handlesSequence, isActive, isGroupedWith, isRecognized, onBegin, onCancel, onEnd, onSequenceStateChanged, onUpdate, setSequenceState, setState, ungroup
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_ANGLE_CHANGED
- Siehe auch:
-
-
Konstruktordetails
-
GestureRotate
-
GestureRotate
public GestureRotate()Returns a newly created `GtkGesture` that recognizes 2-touch
rotation gestures.
-
-
Methodendetails
-
getClassHandler
-
getAngleDelta
public double getAngleDelta()Gets the angle delta in radians.
If @gesture is active, this function returns the angle difference
in radians since the gesture was first recognized. If @gesture is
not active, 0 is returned.- Gibt zurück:
- the angle delta in radians
-
onAngleChanged
Connect to signal "angle-changed".
SeeGestureRotate.OnAngleChanged.onAngleChanged(double, double)
for signal description.
FieldSIGNAL_ON_ANGLE_CHANGED
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()
-