Method

GdkWindowget_drag_protocol

since: 3.0

Declaration [src]

GdkDragProtocol
gdk_window_get_drag_protocol (
  GdkWindow* window,
  GdkWindow** target
)

Description [src]

Finds out the DND protocol supported by a window.

Available since: 3.0

Parameters

target

Type: GdkWindow

Location of the window where the drop should happen. This may be window or a proxy window, or NULL if window does not support Drag and Drop.

The argument will be set by the function.
The argument can be NULL.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: GdkDragProtocol

The supported DND protocol.