Method

GdkDragContextset_hotspot

since: 3.20

Declaration [src]

void
gdk_drag_context_set_hotspot (
  GdkDragContext* context,
  gint hot_x,
  gint hot_y
)

Description [src]

Sets the position of the drag window that will be kept under the cursor hotspot. Initially, the hotspot is at the top left corner of the drag window.

Available since: 3.20

Parameters

hot_x

Type: gint

X coordinate of the drag window hotspot.

hot_y

Type: gint

Y coordinate of the drag window hotspot.