Method

GtkWindowbegin_resize_drag

Declaration [src]

void
gtk_window_begin_resize_drag (
  GtkWindow* window,
  GdkWindowEdge edge,
  gint button,
  gint root_x,
  gint root_y,
  guint32 timestamp
)

Description [src]

Starts resizing a window. This function is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the [window manager][gtk-X11-arch] or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system.

Parameters

edge

Type: GdkWindowEdge

Position of the resize control.

button

Type: gint

Mouse button that initiated the drag.

root_x

Type: gint

X position where the user clicked to initiate the drag, in root window coordinates.

root_y

Type: gint

Y position where the user clicked to initiate the drag.

timestamp

Type: guint32

Timestamp from the click event that initiated the drag.