Table of Contents

Class DropTargetAsync

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class DropTargetAsync : EventController, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
DropTargetAsync
Implements
Inherited Members

Constructors

DropTargetAsync(bool, params ConstructArgument[])

protected DropTargetAsync(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

DropTargetAsync(IntPtr, bool)

protected DropTargetAsync(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AcceptSignal

Signal Descriptor for OnAccept.

public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.AcceptSignalArgs, bool> AcceptSignal

Field Value

ReturningSignal<DropTargetAsync, DropTargetAsync.AcceptSignalArgs, bool>

ActionsPropertyDefinition

public static readonly Property<DragAction, DropTargetAsync> ActionsPropertyDefinition

Field Value

Property<DragAction, DropTargetAsync>

DragEnterSignal

Signal Descriptor for OnDragEnter.

public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.DragEnterSignalArgs, DragAction> DragEnterSignal

Field Value

ReturningSignal<DropTargetAsync, DropTargetAsync.DragEnterSignalArgs, DragAction>

DragLeaveSignal

Signal Descriptor for OnDragLeave.

public static readonly Signal<DropTargetAsync, DropTargetAsync.DragLeaveSignalArgs> DragLeaveSignal

Field Value

Signal<DropTargetAsync, DropTargetAsync.DragLeaveSignalArgs>

DragMotionSignal

Signal Descriptor for OnDragMotion.

public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.DragMotionSignalArgs, DragAction> DragMotionSignal

Field Value

ReturningSignal<DropTargetAsync, DropTargetAsync.DragMotionSignalArgs, DragAction>

DropSignal

Signal Descriptor for OnDrop.

public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.DropSignalArgs, bool> DropSignal

Field Value

ReturningSignal<DropTargetAsync, DropTargetAsync.DropSignalArgs, bool>

FormatsPropertyDefinition

public static readonly Property<ContentFormats, DropTargetAsync> FormatsPropertyDefinition

Field Value

Property<ContentFormats, DropTargetAsync>

Properties

Actions

public DragAction Actions { get; set; }

Property Value

DragAction

Formats

public ContentFormats Formats { get; set; }

Property Value

ContentFormats

Methods

GetActions()

public DragAction GetActions()

Returns

DragAction

GetFormats()

public ContentFormats? GetFormats()

Returns

ContentFormats

GetGType()

public static Type GetGType()

Returns

Type

New(ContentFormats?, DragAction)

public static DropTargetAsync New(ContentFormats? formats, DragAction actions)

Parameters

formats ContentFormats
actions DragAction

Returns

DropTargetAsync

RejectDrop(Drop)

public void RejectDrop(Drop drop)

Parameters

drop Drop

SetActions(DragAction)

public void SetActions(DragAction actions)

Parameters

actions DragAction

SetFormats(ContentFormats?)

public void SetFormats(ContentFormats? formats)

Parameters

formats ContentFormats

Events

OnAccept

public event ReturningSignalHandler<DropTargetAsync, DropTargetAsync.AcceptSignalArgs, bool> OnAccept

Event Type

ReturningSignalHandler<DropTargetAsync, DropTargetAsync.AcceptSignalArgs, bool>

OnDragEnter

public event ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DragEnterSignalArgs, DragAction> OnDragEnter

Event Type

ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DragEnterSignalArgs, DragAction>

OnDragLeave

public event SignalHandler<DropTargetAsync, DropTargetAsync.DragLeaveSignalArgs> OnDragLeave

Event Type

SignalHandler<DropTargetAsync, DropTargetAsync.DragLeaveSignalArgs>

OnDragMotion

public event ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DragMotionSignalArgs, DragAction> OnDragMotion

Event Type

ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DragMotionSignalArgs, DragAction>

OnDrop

public event ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DropSignalArgs, bool> OnDrop

Event Type

ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DropSignalArgs, bool>