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
constructArgumentsConstructArgument[]
GesturePan(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GesturePan(CreationData data)
Parameters
dataCreationData
GesturePan(GesturePanHandle)
protected GesturePan(GesturePanHandle handle)
Parameters
handleGesturePanHandle
Fields
OrientationPropertyDefinition
public static readonly Property<Orientation, GesturePan> OrientationPropertyDefinition
Field Value
PanSignal
Signal Descriptor for OnPan.
public static readonly Signal<GesturePan, GesturePan.PanSignalArgs> PanSignal
Field Value
Properties
Orientation
public Orientation Orientation { get; set; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetOrientation()
public Orientation GetOrientation()
Returns
New(Orientation)
public static GesturePan New(Orientation orientation)
Parameters
orientationOrientation
Returns
NewFromPointer(nint, bool)
Creates a new managed GesturePan instance for a given pointer.
public static GesturePan NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new GesturePan and sets the properties specified by the construct arguments.
public static GesturePan NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientationOrientation
Events
OnPan
public event SignalHandler<GesturePan, GesturePan.PanSignalArgs> OnPan