Table of Contents

Class DropTargetAsync

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class DropTargetAsync
Inheritance
DropTargetAsync
Inherited Members

Methods

GetActions(IntPtr)

Calls native method gtk_drop_target_async_get_actions.

public static extern DragAction GetActions(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

DragAction

Transfer ownership: None Nullable: False

GetFormats(IntPtr)

Calls native method gtk_drop_target_async_get_formats.

public static extern ContentFormatsOwnedHandle GetFormats(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

ContentFormatsOwnedHandle

Transfer ownership: Full Nullable: True

GetGType()

Calls native function gtk_drop_target_async_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(ContentFormatsUnownedHandle, DragAction)

Calls native constructor gtk_drop_target_async_new.

public static extern IntPtr New(ContentFormatsUnownedHandle formats, DragAction actions)

Parameters

formats ContentFormatsUnownedHandle

Transfer ownership: Full Nullable: True

actions DragAction

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

RejectDrop(IntPtr, IntPtr)

Calls native method gtk_drop_target_async_reject_drop.

public static extern void RejectDrop(IntPtr self, IntPtr drop)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

drop IntPtr

Transfer ownership: None Nullable: False

SetActions(IntPtr, DragAction)

Calls native method gtk_drop_target_async_set_actions.

public static extern void SetActions(IntPtr self, DragAction actions)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

actions DragAction

Transfer ownership: None Nullable: False

SetFormats(IntPtr, ContentFormatsHandle)

Calls native method gtk_drop_target_async_set_formats.

public static extern void SetFormats(IntPtr self, ContentFormatsHandle formats)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

formats ContentFormatsHandle

Transfer ownership: None Nullable: True