DragContext.setDevice

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

class DragContext
void
setDevice

Parameters

device gdk.device.Device

a #GdkDevice