Table of Contents

Class GestureSwipe

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class GestureSwipe : GestureSingle, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
GestureSwipe
Implements
Inherited Members

Constructors

GestureSwipe(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public GestureSwipe(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

GestureSwipe(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GestureSwipe(CreationData data)

Parameters

data CreationData

GestureSwipe(GestureSwipeHandle)

protected GestureSwipe(GestureSwipeHandle handle)

Parameters

handle GestureSwipeHandle

Fields

SwipeSignal

Signal Descriptor for OnSwipe.

public static readonly Signal<GestureSwipe, GestureSwipe.SwipeSignalArgs> SwipeSignal

Field Value

Signal<GestureSwipe, GestureSwipe.SwipeSignalArgs>

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetVelocity(out double, out double)

public bool GetVelocity(out double velocityX, out double velocityY)

Parameters

velocityX double
velocityY double

Returns

bool

New()

public static GestureSwipe New()

Returns

GestureSwipe

NewFromPointer(nint, bool)

Creates a new managed GestureSwipe instance for a given pointer.

public static GestureSwipe NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

GestureSwipe

NewWithProperties(ConstructArgument[])

Creates a new GestureSwipe and sets the properties specified by the construct arguments.

public static GestureSwipe NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

GestureSwipe

Events

OnSwipe

public event SignalHandler<GestureSwipe, GestureSwipe.SwipeSignalArgs> OnSwipe

Event Type

SignalHandler<GestureSwipe, GestureSwipe.SwipeSignalArgs>