Class EventControllerMotion
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class EventControllerMotion : EventController, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
EventControllerMotion
- Implements
- Inherited Members
Constructors
EventControllerMotion(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 EventControllerMotion(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
EventControllerMotion(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EventControllerMotion(CreationData data)
Parameters
dataCreationData
EventControllerMotion(EventControllerMotionHandle)
protected EventControllerMotion(EventControllerMotionHandle handle)
Parameters
handleEventControllerMotionHandle
Fields
ContainsPointerPropertyDefinition
public static readonly Property<bool, EventControllerMotion> ContainsPointerPropertyDefinition
Field Value
EnterSignal
Signal Descriptor for OnEnter.
public static readonly Signal<EventControllerMotion, EventControllerMotion.EnterSignalArgs> EnterSignal
Field Value
IsPointerPropertyDefinition
public static readonly Property<bool, EventControllerMotion> IsPointerPropertyDefinition
Field Value
LeaveSignal
Signal Descriptor for OnLeave.
public static readonly Signal<EventControllerMotion> LeaveSignal
Field Value
MotionSignal
Signal Descriptor for OnMotion.
public static readonly Signal<EventControllerMotion, EventControllerMotion.MotionSignalArgs> MotionSignal
Field Value
Properties
ContainsPointer
public bool ContainsPointer { get; }
Property Value
IsPointer
public bool IsPointer { get; }
Property Value
Methods
GetContainsPointer()
public bool GetContainsPointer()
Returns
GetGType()
public static Type GetGType()
Returns
GetIsPointer()
public bool GetIsPointer()
Returns
New()
public static EventControllerMotion New()
Returns
NewFromPointer(nint, bool)
Creates a new managed EventControllerMotion instance for a given pointer.
public static EventControllerMotion NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new EventControllerMotion and sets the properties specified by the construct arguments.
public static EventControllerMotion NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnEnter
public event SignalHandler<EventControllerMotion, EventControllerMotion.EnterSignalArgs> OnEnter
Event Type
OnLeave
public event SignalHandler<EventControllerMotion> OnLeave
Event Type
OnMotion
public event SignalHandler<EventControllerMotion, EventControllerMotion.MotionSignalArgs> OnMotion