Method

GdkWindowbegin_resize_drag

Declaration [src]

void
gdk_window_begin_resize_drag (
  GdkWindow* window,
  GdkWindowEdge edge,
  gint button,
  gint root_x,
  gint root_y,
  guint32 timestamp
)

Description [src]

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

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

Parameters

edge

Type: GdkWindowEdge

The edge or corner from which the drag is started.

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 (use gdk_event_get_time()).