Class GestureClick
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class GestureClick : GestureSingle, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
GestureClick
- Implements
- Inherited Members
Constructors
GestureClick(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 GestureClick(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
GestureClick(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GestureClick(CreationData data)
Parameters
dataCreationData
GestureClick(GestureClickHandle)
protected GestureClick(GestureClickHandle handle)
Parameters
handleGestureClickHandle
Fields
PressedSignal
Signal Descriptor for OnPressed.
public static readonly Signal<GestureClick, GestureClick.PressedSignalArgs> PressedSignal
Field Value
ReleasedSignal
Signal Descriptor for OnReleased.
public static readonly Signal<GestureClick, GestureClick.ReleasedSignalArgs> ReleasedSignal
Field Value
StoppedSignal
Signal Descriptor for OnStopped.
public static readonly Signal<GestureClick> StoppedSignal
Field Value
UnpairedReleaseSignal
Signal Descriptor for OnUnpairedRelease.
public static readonly Signal<GestureClick, GestureClick.UnpairedReleaseSignalArgs> UnpairedReleaseSignal
Field Value
Methods
GetGType()
public static Type GetGType()
Returns
New()
public static GestureClick New()
Returns
NewFromPointer(nint, bool)
Creates a new managed GestureClick instance for a given pointer.
public static GestureClick NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new GestureClick and sets the properties specified by the construct arguments.
public static GestureClick NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnPressed
public event SignalHandler<GestureClick, GestureClick.PressedSignalArgs> OnPressed
Event Type
OnReleased
public event SignalHandler<GestureClick, GestureClick.ReleasedSignalArgs> OnReleased
Event Type
OnStopped
public event SignalHandler<GestureClick> OnStopped
Event Type
OnUnpairedRelease
public event SignalHandler<GestureClick, GestureClick.UnpairedReleaseSignalArgs> OnUnpairedRelease