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
boolconstructArguments
ConstructArgument[]
DropTargetAsync(IntPtr, bool)
protected DropTargetAsync(IntPtr ptr, bool ownedRef)
Parameters
Fields
AcceptSignal
Signal Descriptor for OnAccept.
public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.AcceptSignalArgs, bool> AcceptSignal
Field Value
ActionsPropertyDefinition
public static readonly Property<DragAction, DropTargetAsync> ActionsPropertyDefinition
Field Value
DragEnterSignal
Signal Descriptor for OnDragEnter.
public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.DragEnterSignalArgs, DragAction> DragEnterSignal
Field Value
DragLeaveSignal
Signal Descriptor for OnDragLeave.
public static readonly Signal<DropTargetAsync, DropTargetAsync.DragLeaveSignalArgs> DragLeaveSignal
Field Value
DragMotionSignal
Signal Descriptor for OnDragMotion.
public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.DragMotionSignalArgs, DragAction> DragMotionSignal
Field Value
DropSignal
Signal Descriptor for OnDrop.
public static readonly ReturningSignal<DropTargetAsync, DropTargetAsync.DropSignalArgs, bool> DropSignal
Field Value
FormatsPropertyDefinition
public static readonly Property<ContentFormats, DropTargetAsync> FormatsPropertyDefinition
Field Value
Properties
Actions
public DragAction Actions { get; set; }
Property Value
Formats
public ContentFormats Formats { get; set; }
Property Value
Methods
GetActions()
public DragAction GetActions()
Returns
GetFormats()
public ContentFormats? GetFormats()
Returns
GetGType()
public static Type GetGType()
Returns
New(ContentFormats?, DragAction)
public static DropTargetAsync New(ContentFormats? formats, DragAction actions)
Parameters
formats
ContentFormatsactions
DragAction
Returns
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
OnDragEnter
public event ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DragEnterSignalArgs, DragAction> OnDragEnter
Event Type
OnDragLeave
public event SignalHandler<DropTargetAsync, DropTargetAsync.DragLeaveSignalArgs> OnDragLeave
Event Type
OnDragMotion
public event ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DragMotionSignalArgs, DragAction> OnDragMotion
Event Type
OnDrop
public event ReturningSignalHandler<DropTargetAsync, DropTargetAsync.DropSignalArgs, bool> OnDrop