Method

GdkWindowbegin_move_drag

Declaration [src]

void
gdk_window_begin_move_drag (
  GdkWindow* window,
  gint button,
  gint root_x,
  gint root_y,
  guint32 timestamp
)

Description [src]

Begins a window move operation (for a toplevel window).

This function assumes that the drag is controlled by the client pointer device, use gdk_window_begin_move_drag_for_device() to begin a drag with a different device.

Parameters

button

Type: gint

The button being used to drag, or 0 for a keyboard-initiated drag.

root_x

Type: gint

Root window X coordinate of mouse click that began the drag.

root_y

Type: gint

Root window Y coordinate of mouse click that began the drag.

timestamp

Type: guint32

Timestamp of mouse click that began the drag.