Table of Contents

Class DropControllerMotion

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

DropControllerMotion(CreationData)

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

Parameters

data CreationData

DropControllerMotion(DropControllerMotionHandle)

protected DropControllerMotion(DropControllerMotionHandle handle)

Parameters

handle DropControllerMotionHandle

Fields

ContainsPointerPropertyDefinition

public static readonly Property<bool, DropControllerMotion> ContainsPointerPropertyDefinition

Field Value

Property<bool, DropControllerMotion>

DropPropertyDefinition

public static readonly Property<Drop?, DropControllerMotion> DropPropertyDefinition

Field Value

Property<Drop, DropControllerMotion>

EnterSignal

Signal Descriptor for OnEnter.

public static readonly Signal<DropControllerMotion, DropControllerMotion.EnterSignalArgs> EnterSignal

Field Value

Signal<DropControllerMotion, DropControllerMotion.EnterSignalArgs>

IsPointerPropertyDefinition

public static readonly Property<bool, DropControllerMotion> IsPointerPropertyDefinition

Field Value

Property<bool, DropControllerMotion>

LeaveSignal

Signal Descriptor for OnLeave.

public static readonly Signal<DropControllerMotion> LeaveSignal

Field Value

Signal<DropControllerMotion>

MotionSignal

Signal Descriptor for OnMotion.

public static readonly Signal<DropControllerMotion, DropControllerMotion.MotionSignalArgs> MotionSignal

Field Value

Signal<DropControllerMotion, DropControllerMotion.MotionSignalArgs>

Properties

ContainsPointer

public bool ContainsPointer { get; }

Property Value

bool

Drop

public Drop? Drop { get; }

Property Value

Drop

IsPointer

public bool IsPointer { get; }

Property Value

bool

Methods

GetContainsPointer()

public bool GetContainsPointer()

Returns

bool

GetDrop()

public Drop? GetDrop()

Returns

Drop

GetGType()

public static Type GetGType()

Returns

Type

GetIsPointer()

public bool GetIsPointer()

Returns

bool

New()

public static DropControllerMotion New()

Returns

DropControllerMotion

NewFromPointer(nint, bool)

Creates a new managed DropControllerMotion instance for a given pointer.

public static DropControllerMotion NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DropControllerMotion

NewWithProperties(ConstructArgument[])

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

public static DropControllerMotion NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DropControllerMotion

Events

OnEnter

public event SignalHandler<DropControllerMotion, DropControllerMotion.EnterSignalArgs> OnEnter

Event Type

SignalHandler<DropControllerMotion, DropControllerMotion.EnterSignalArgs>

OnLeave

public event SignalHandler<DropControllerMotion> OnLeave

Event Type

SignalHandler<DropControllerMotion>

OnMotion

public event SignalHandler<DropControllerMotion, DropControllerMotion.MotionSignalArgs> OnMotion

Event Type

SignalHandler<DropControllerMotion, DropControllerMotion.MotionSignalArgs>