Class GestureStylus
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class GestureStylus : GestureSingle, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
GestureStylus
- Implements
- Inherited Members
Constructors
GestureStylus(bool, params ConstructArgument[])
protected GestureStylus(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
GestureStylus(IntPtr, bool)
protected GestureStylus(IntPtr ptr, bool ownedRef)
Parameters
Fields
DownSignal
Signal Descriptor for OnDown.
public static readonly Signal<GestureStylus, GestureStylus.DownSignalArgs> DownSignal
Field Value
MotionSignal
Signal Descriptor for OnMotion.
public static readonly Signal<GestureStylus, GestureStylus.MotionSignalArgs> MotionSignal
Field Value
ProximitySignal
Signal Descriptor for OnProximity.
public static readonly Signal<GestureStylus, GestureStylus.ProximitySignalArgs> ProximitySignal
Field Value
StylusOnlyPropertyDefinition
public static readonly Property<bool, GestureStylus> StylusOnlyPropertyDefinition
Field Value
UpSignal
Signal Descriptor for OnUp.
public static readonly Signal<GestureStylus, GestureStylus.UpSignalArgs> UpSignal
Field Value
Properties
StylusOnly
public bool StylusOnly { get; set; }
Property Value
Methods
GetAxis(AxisUse, out double)
public bool GetAxis(AxisUse axis, out double value)
Parameters
Returns
GetDeviceTool()
public DeviceTool? GetDeviceTool()
Returns
GetGType()
public static Type GetGType()
Returns
GetStylusOnly()
[Version("4.10")]
public bool GetStylusOnly()
Returns
New()
public static GestureStylus New()
Returns
SetStylusOnly(bool)
[Version("4.10")]
public void SetStylusOnly(bool stylusOnly)
Parameters
stylusOnly
bool
Events
OnDown
public event SignalHandler<GestureStylus, GestureStylus.DownSignalArgs> OnDown
Event Type
OnMotion
public event SignalHandler<GestureStylus, GestureStylus.MotionSignalArgs> OnMotion
Event Type
OnProximity
public event SignalHandler<GestureStylus, GestureStylus.ProximitySignalArgs> OnProximity
Event Type
OnUp
public event SignalHandler<GestureStylus, GestureStylus.UpSignalArgs> OnUp