Package ch.bailu.gtk.gtk
Klasse GestureStylus
- Alle implementierten Schnittstellen:
PointerInterface
Recognizes tablet stylus input.
The provided signals just relay the basic information of the
stylus events.
The provided signals just relay the basic information of the
stylus events.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interfacestatic interfaceVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gtk.Gesture
Gesture.OnBegin, Gesture.OnCancel, Gesture.OnEnd, Gesture.OnSequenceStateChanged, Gesture.OnUpdateVon 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.gtk.Gesture
SIGNAL_ON_BEGIN, SIGNAL_ON_CANCEL, SIGNAL_ON_END, SIGNAL_ON_SEQUENCE_STATE_CHANGED, SIGNAL_ON_UPDATEVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerReturns the `GdkDeviceTool` currently driving input through this gesture.static intstatic longstatic TypeSystem.TypeSizebooleanChecks whether the gesture is for styluses only.static longstatic TypeSystem.TypeSizeonDown(GestureStylus.OnDown signal) Connect to signal "down".onMotion(GestureStylus.OnMotion signal) Connect to signal "motion".onProximity(GestureStylus.OnProximity signal) Connect to signal "proximity".onUp(GestureStylus.OnUp signal) Connect to signal "up".voidsetStylusOnly(boolean stylus_only) Sets the state of stylus-only
If true, the gesture will exclusively handle events from stylus input devices,
otherwise it'll handle events from any pointing device.Von Klasse geerbte Methoden ch.bailu.gtk.gtk.GestureSingle
getButton, getCurrentButton, getCurrentSequence, getExclusive, getTouchOnly, setButton, setExclusive, setTouchOnlyVon 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, ungroupVon Klasse geerbte Methoden ch.bailu.gtk.gtk.EventController
getCurrentEvent, getCurrentEventDevice, getCurrentEventState, getCurrentEventTime, getName, getPropagationLimit, getPropagationPhase, getWidget, reset, setName, setName, setPropagationLimit, setPropagationPhase, setStaticName, setStaticNameVon 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_DOWN
- Siehe auch:
-
SIGNAL_ON_MOTION
- Siehe auch:
-
SIGNAL_ON_PROXIMITY
- Siehe auch:
-
SIGNAL_ON_UP
- Siehe auch:
-
-
Konstruktordetails
-
GestureStylus
-
GestureStylus
public GestureStylus()Creates a new `GtkGestureStylus`.
-
-
Methodendetails
-
getClassHandler
-
getDeviceTool
Returns the `GdkDeviceTool` currently driving input through this gesture.
This function must be called from the handler of one of the
[signal@Gtk.GestureStylus::down], [signal@Gtk.GestureStylus::motion],
[signal@Gtk.GestureStylus::up] or [signal@Gtk.GestureStylus::proximity]
signals.- Gibt zurück:
- The current stylus tool
-
getStylusOnly
public boolean getStylusOnly()Checks whether the gesture is for styluses only.
Stylus-only gestures will signal events exclusively from stylus
input devices.- Gibt zurück:
- %TRUE if the gesture is only for stylus events
-
setStylusOnly
public void setStylusOnly(boolean stylus_only) Sets the state of stylus-only
If true, the gesture will exclusively handle events from stylus input devices,
otherwise it'll handle events from any pointing device.- Parameter:
stylus_only- whether the gesture is used exclusively for stylus events
-
onDown
Connect to signal "down".
SeeGestureStylus.OnDown.onDown(double, double)for signal description.
FieldSIGNAL_ON_DOWNcontains 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".
SeeGestureStylus.OnMotion.onMotion(double, double)for signal description.
FieldSIGNAL_ON_MOTIONcontains 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.
-
onProximity
Connect to signal "proximity".
SeeGestureStylus.OnProximity.onProximity(double, double)for signal description.
FieldSIGNAL_ON_PROXIMITYcontains 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.
-
onUp
Connect to signal "up".
SeeGestureStylus.OnUp.onUp(double, double)for signal description.
FieldSIGNAL_ON_UPcontains 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()
-