Table of Contents

Class SwipeTracker

Namespace
Adw
Assembly
Adw-1.dll
public sealed class SwipeTracker : Object, Orientable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
SwipeTracker
Implements
Inherited Members

Constructors

SwipeTracker(SwipeTrackerHandle)

protected SwipeTracker(SwipeTrackerHandle handle)

Parameters

handle SwipeTrackerHandle

SwipeTracker(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 SwipeTracker(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SwipeTracker(CreationData)

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

Parameters

data CreationData

Fields

AllowLongSwipesPropertyDefinition

public static readonly Property<bool, SwipeTracker> AllowLongSwipesPropertyDefinition

Field Value

Property<bool, SwipeTracker>

AllowMouseDragPropertyDefinition

public static readonly Property<bool, SwipeTracker> AllowMouseDragPropertyDefinition

Field Value

Property<bool, SwipeTracker>

AllowWindowHandlePropertyDefinition

public static readonly Property<bool, SwipeTracker> AllowWindowHandlePropertyDefinition

Field Value

Property<bool, SwipeTracker>

BeginSwipeSignal

Signal Descriptor for OnBeginSwipe.

public static readonly Signal<SwipeTracker> BeginSwipeSignal

Field Value

Signal<SwipeTracker>

EnabledPropertyDefinition

public static readonly Property<bool, SwipeTracker> EnabledPropertyDefinition

Field Value

Property<bool, SwipeTracker>

EndSwipeSignal

Signal Descriptor for OnEndSwipe.

public static readonly Signal<SwipeTracker, SwipeTracker.EndSwipeSignalArgs> EndSwipeSignal

Field Value

Signal<SwipeTracker, SwipeTracker.EndSwipeSignalArgs>

LowerOvershootPropertyDefinition

public static readonly Property<bool, SwipeTracker> LowerOvershootPropertyDefinition

Field Value

Property<bool, SwipeTracker>

PrepareSignal

Signal Descriptor for OnPrepare.

public static readonly Signal<SwipeTracker, SwipeTracker.PrepareSignalArgs> PrepareSignal

Field Value

Signal<SwipeTracker, SwipeTracker.PrepareSignalArgs>

ReversedPropertyDefinition

public static readonly Property<bool, SwipeTracker> ReversedPropertyDefinition

Field Value

Property<bool, SwipeTracker>

SwipeablePropertyDefinition

public static readonly Property<Swipeable, SwipeTracker> SwipeablePropertyDefinition

Field Value

Property<Swipeable, SwipeTracker>

UpdateSwipeSignal

Signal Descriptor for OnUpdateSwipe.

public static readonly Signal<SwipeTracker, SwipeTracker.UpdateSwipeSignalArgs> UpdateSwipeSignal

Field Value

Signal<SwipeTracker, SwipeTracker.UpdateSwipeSignalArgs>

UpperOvershootPropertyDefinition

public static readonly Property<bool, SwipeTracker> UpperOvershootPropertyDefinition

Field Value

Property<bool, SwipeTracker>

Properties

AllowLongSwipes

public bool AllowLongSwipes { get; set; }

Property Value

bool

AllowMouseDrag

public bool AllowMouseDrag { get; set; }

Property Value

bool

AllowWindowHandle

public bool AllowWindowHandle { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

LowerOvershoot

public bool LowerOvershoot { get; set; }

Property Value

bool

Reversed

public bool Reversed { get; set; }

Property Value

bool

Swipeable

public Swipeable Swipeable { get; }

Property Value

Swipeable

UpperOvershoot

public bool UpperOvershoot { get; set; }

Property Value

bool

Methods

GetAllowLongSwipes()

public bool GetAllowLongSwipes()

Returns

bool

GetAllowMouseDrag()

public bool GetAllowMouseDrag()

Returns

bool

GetAllowWindowHandle()

[Version("1.5")]
public bool GetAllowWindowHandle()

Returns

bool

GetEnabled()

public bool GetEnabled()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetLowerOvershoot()

[Version("1.4")]
public bool GetLowerOvershoot()

Returns

bool

GetOrientation()

public Orientation GetOrientation()

Returns

Orientation

GetReversed()

public bool GetReversed()

Returns

bool

GetSwipeable()

public Swipeable GetSwipeable()

Returns

Swipeable

GetUpperOvershoot()

[Version("1.4")]
public bool GetUpperOvershoot()

Returns

bool

New(Swipeable)

public static SwipeTracker New(Swipeable swipeable)

Parameters

swipeable Swipeable

Returns

SwipeTracker

NewFromPointer(nint, bool)

Creates a new managed SwipeTracker instance for a given pointer.

public static SwipeTracker NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SwipeTracker

NewWithProperties(ConstructArgument[])

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

public static SwipeTracker NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SwipeTracker

SetAllowLongSwipes(bool)

public void SetAllowLongSwipes(bool allowLongSwipes)

Parameters

allowLongSwipes bool

SetAllowMouseDrag(bool)

public void SetAllowMouseDrag(bool allowMouseDrag)

Parameters

allowMouseDrag bool

SetAllowWindowHandle(bool)

[Version("1.5")]
public void SetAllowWindowHandle(bool allowWindowHandle)

Parameters

allowWindowHandle bool

SetEnabled(bool)

public void SetEnabled(bool enabled)

Parameters

enabled bool

SetLowerOvershoot(bool)

[Version("1.4")]
public void SetLowerOvershoot(bool overshoot)

Parameters

overshoot bool

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation

SetReversed(bool)

public void SetReversed(bool reversed)

Parameters

reversed bool

SetUpperOvershoot(bool)

[Version("1.4")]
public void SetUpperOvershoot(bool overshoot)

Parameters

overshoot bool

ShiftPosition(double)

public void ShiftPosition(double delta)

Parameters

delta double

Events

OnBeginSwipe

public event SignalHandler<SwipeTracker> OnBeginSwipe

Event Type

SignalHandler<SwipeTracker>

OnEndSwipe

public event SignalHandler<SwipeTracker, SwipeTracker.EndSwipeSignalArgs> OnEndSwipe

Event Type

SignalHandler<SwipeTracker, SwipeTracker.EndSwipeSignalArgs>

OnPrepare

public event SignalHandler<SwipeTracker, SwipeTracker.PrepareSignalArgs> OnPrepare

Event Type

SignalHandler<SwipeTracker, SwipeTracker.PrepareSignalArgs>

OnUpdateSwipe

public event SignalHandler<SwipeTracker, SwipeTracker.UpdateSwipeSignalArgs> OnUpdateSwipe

Event Type

SignalHandler<SwipeTracker, SwipeTracker.UpdateSwipeSignalArgs>