Table of Contents

Class GesturePan

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

GesturePan(CreationData)

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

Parameters

data CreationData

GesturePan(GesturePanHandle)

protected GesturePan(GesturePanHandle handle)

Parameters

handle GesturePanHandle

Fields

OrientationPropertyDefinition

public static readonly Property<Orientation, GesturePan> OrientationPropertyDefinition

Field Value

Property<Orientation, GesturePan>

PanSignal

Signal Descriptor for OnPan.

public static readonly Signal<GesturePan, GesturePan.PanSignalArgs> PanSignal

Field Value

Signal<GesturePan, GesturePan.PanSignalArgs>

Properties

Orientation

public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetOrientation()

public Orientation GetOrientation()

Returns

Orientation

New(Orientation)

public static GesturePan New(Orientation orientation)

Parameters

orientation Orientation

Returns

GesturePan

NewFromPointer(nint, bool)

Creates a new managed GesturePan instance for a given pointer.

public static GesturePan NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

GesturePan

NewWithProperties(ConstructArgument[])

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

public static GesturePan NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

GesturePan

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation

Events

OnPan

public event SignalHandler<GesturePan, GesturePan.PanSignalArgs> OnPan

Event Type

SignalHandler<GesturePan, GesturePan.PanSignalArgs>