Table of Contents

Class GestureZoom

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

GestureZoom(CreationData)

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

Parameters

data CreationData

GestureZoom(GestureZoomHandle)

protected GestureZoom(GestureZoomHandle handle)

Parameters

handle GestureZoomHandle

Fields

ScaleChangedSignal

Signal Descriptor for OnScaleChanged.

public static readonly Signal<GestureZoom, GestureZoom.ScaleChangedSignalArgs> ScaleChangedSignal

Field Value

Signal<GestureZoom, GestureZoom.ScaleChangedSignalArgs>

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetScaleDelta()

public double GetScaleDelta()

Returns

double

New()

public static GestureZoom New()

Returns

GestureZoom

NewFromPointer(nint, bool)

Creates a new managed GestureZoom instance for a given pointer.

public static GestureZoom NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

GestureZoom

NewWithProperties(ConstructArgument[])

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

public static GestureZoom NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

GestureZoom

Events

OnScaleChanged

public event SignalHandler<GestureZoom, GestureZoom.ScaleChangedSignalArgs> OnScaleChanged

Event Type

SignalHandler<GestureZoom, GestureZoom.ScaleChangedSignalArgs>