DragContext.manageDnd
bool manageDnd(gdk.window.Window ipcWindow, gdk.types.DragAction actions)Requests the drag and drop operation to be managed by context. When a drag and drop operation becomes managed, the #GdkDragContext will internally handle all input and source-side #GdkEventDND events as required by the windowing system.
Once the drag and drop operation is managed, the drag context will emit the following signals:
- The #GdkDragContext::action-changed signal whenever the final action to be performed by the drag and drop operation changes.
- The #GdkDragContext::drop-performed signal after the user performs the drag and drop gesture (typically by releasing the mouse button).
- The #GdkDragContext::dnd-finished signal after the drag and drop operation concludes (after all #GdkSelection transfers happen).
- The #GdkDragContext::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
ipcWindowWindow to use for IPC messaging/events actionsthe actions supported by the drag source Returns
#TRUE if the drag and drop operation is managed.