Table of Contents

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 bool
constructArguments ConstructArgument[]

GestureStylus(IntPtr, bool)

protected GestureStylus(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

DownSignal

Signal Descriptor for OnDown.

public static readonly Signal<GestureStylus, GestureStylus.DownSignalArgs> DownSignal

Field Value

Signal<GestureStylus, GestureStylus.DownSignalArgs>

MotionSignal

Signal Descriptor for OnMotion.

public static readonly Signal<GestureStylus, GestureStylus.MotionSignalArgs> MotionSignal

Field Value

Signal<GestureStylus, GestureStylus.MotionSignalArgs>

ProximitySignal

Signal Descriptor for OnProximity.

public static readonly Signal<GestureStylus, GestureStylus.ProximitySignalArgs> ProximitySignal

Field Value

Signal<GestureStylus, GestureStylus.ProximitySignalArgs>

StylusOnlyPropertyDefinition

public static readonly Property<bool, GestureStylus> StylusOnlyPropertyDefinition

Field Value

Property<bool, GestureStylus>

UpSignal

Signal Descriptor for OnUp.

public static readonly Signal<GestureStylus, GestureStylus.UpSignalArgs> UpSignal

Field Value

Signal<GestureStylus, GestureStylus.UpSignalArgs>

Properties

StylusOnly

public bool StylusOnly { get; set; }

Property Value

bool

Methods

GetAxis(AxisUse, out double)

public bool GetAxis(AxisUse axis, out double value)

Parameters

axis AxisUse
value double

Returns

bool

GetDeviceTool()

public DeviceTool? GetDeviceTool()

Returns

DeviceTool

GetGType()

public static Type GetGType()

Returns

Type

GetStylusOnly()

[Version("4.10")]
public bool GetStylusOnly()

Returns

bool

New()

public static GestureStylus New()

Returns

GestureStylus

SetStylusOnly(bool)

[Version("4.10")]
public void SetStylusOnly(bool stylusOnly)

Parameters

stylusOnly bool

Events

OnDown

public event SignalHandler<GestureStylus, GestureStylus.DownSignalArgs> OnDown

Event Type

SignalHandler<GestureStylus, GestureStylus.DownSignalArgs>

OnMotion

public event SignalHandler<GestureStylus, GestureStylus.MotionSignalArgs> OnMotion

Event Type

SignalHandler<GestureStylus, GestureStylus.MotionSignalArgs>

OnProximity

public event SignalHandler<GestureStylus, GestureStylus.ProximitySignalArgs> OnProximity

Event Type

SignalHandler<GestureStylus, GestureStylus.ProximitySignalArgs>

OnUp

public event SignalHandler<GestureStylus, GestureStylus.UpSignalArgs> OnUp

Event Type

SignalHandler<GestureStylus, GestureStylus.UpSignalArgs>