DragContext.dragGetProtocol

Warning gdk_drag_get_protocol has been deprecated since version 2.24 and should not be used in newly-written code. Use gdk_drag_get_protocol_for_display() instead Finds out the DND protocol supported by a window.

class DragContext
static
dragGetProtocol

Parameters

xid GdkNativeWindow

the windowing system id of the destination window.

protocol GdkDragProtocol

location where the supported DND protocol is returned.

Return Value

the windowing system specific id for the window where the drop should happen. This may be xid or the id of a proxy window, or zero if xid doesn't support Drag and Drop.

Meta