Declaration [src]

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.


edge GdkWindowEdge

Position of the resize control.

button gint

Mouse button that initiated the drag.

root_x gint

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

root_y gint

Y position where the user clicked to initiate the drag.

timestamp guint32

Timestamp from the click event that initiated the drag.