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
constructArgumentsConstructArgument[]
GestureZoom(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GestureZoom(CreationData data)
Parameters
dataCreationData
GestureZoom(GestureZoomHandle)
protected GestureZoom(GestureZoomHandle handle)
Parameters
handleGestureZoomHandle
Fields
ScaleChangedSignal
Signal Descriptor for OnScaleChanged.
public static readonly Signal<GestureZoom, GestureZoom.ScaleChangedSignalArgs> ScaleChangedSignal
Field Value
Methods
GetGType()
public static Type GetGType()
Returns
GetScaleDelta()
public double GetScaleDelta()
Returns
New()
public static GestureZoom New()
Returns
NewFromPointer(nint, bool)
Creates a new managed GestureZoom instance for a given pointer.
public static GestureZoom NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new GestureZoom and sets the properties specified by the construct arguments.
public static GestureZoom NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnScaleChanged
public event SignalHandler<GestureZoom, GestureZoom.ScaleChangedSignalArgs> OnScaleChanged