Method

GdkDragContextset_device

Declaration [src]

void
gdk_drag_context_set_device (
  GdkDragContext* context,
  GdkDevice* device
)

Description [src]

Associates a GdkDevice to context, so all Drag and Drop events for context are emitted as if they came from this device.

Parameters

device

Type: GdkDevice

A GdkDevice.

The data is owned by the caller of the method.