DropTarget


Description:

[ CCode ( has_construct_function = false ) ]
public DropTarget (Type type, DragAction actions)

Creates a new `GtkDropTarget` object.

If the drop target should support more than 1 type, pass g_type_invalid for type and then call [ method@Gtk.DropTarget.set_gtypes].

Parameters:

type

The supported type or g_type_invalid

actions

the supported actions

Returns:

the new `GtkDropTarget`