setActions

open fun setActions(actions: <Error class: unknown class>)

Sets the actions on the GtkDragSource.

During a DND operation, the actions are offered to potential drop targets. If @actions include %GDK_ACTION_MOVE, you need to listen to the signal@Gtk.DragSource::drag-end signal and handle @delete_data being true.

This function can be called before a drag is started, or in a handler for the signal@Gtk.DragSource::prepare signal.

Parameters

actions

the actions to offer