Method
GtkWindowbegin_move_drag
Declaration [src]
void
gtk_window_begin_move_drag (
GtkWindow* window,
gint button,
gint root_x,
gint root_y,
guint32 timestamp
)
Description [src]
Starts moving a window. This function is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the [window manager][gtk-X11-arch] or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system.
Parameters
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.