manage_dnd


Description:

[ Version ( since = "3.20" ) ]
public bool manage_dnd (Window ipc_window, DragAction actions)

Requests the drag and drop operation to be managed by this.

When a drag and drop operation becomes managed, the DragContext will internally handle all input and source-side EventDND events as required by the windowing system.

Once the drag and drop operation is managed, the drag context will emit the following signals: - The action_changed signal whenever the final action to be performed by the drag and drop operation changes. - The drop_performed signal after the user performs the drag and drop gesture (typically by releasing the mouse button). - The dnd_finished signal after the drag and drop operation concludes (after all GdkSelection transfers happen). - The cancel signal if the drag and drop operation is finished but doesn't happen over an accepting destination, or is cancelled through other means.

Parameters:

this

a DragContext

ipc_window

Window to use for IPC messaging/events

actions

the actions supported by the drag source

Returns:

TRUE if the drag and drop operation is managed.