Function

Gdkdrag_motion

Declaration [src]

gboolean
gdk_drag_motion (
  GdkDragContext* context,
  GdkWindow* dest_window,
  GdkDragProtocol protocol,
  gint x_root,
  gint y_root,
  GdkDragAction suggested_action,
  GdkDragAction possible_actions,
  guint32 time_
)

Description [src]

Updates the drag context when the pointer moves or the set of actions changes.

This function is called by the drag source.

This function does not need to be called in managed drag and drop operations. See gdk_drag_context_manage_dnd() for more information.

Parameters

context

Type: GdkDragContext

A GdkDragContext.

The data is owned by the caller of the function.
dest_window

Type: GdkWindow

The new destination window, obtained by gdk_drag_find_window()

The data is owned by the caller of the function.
protocol

Type: GdkDragProtocol

The DND protocol in use, obtained by gdk_drag_find_window()

x_root

Type: gint

The x position of the pointer in root coordinates.

y_root

Type: gint

The y position of the pointer in root coordinates.

suggested_action

Type: GdkDragAction

The suggested action.

possible_actions

Type: GdkDragAction

The possible actions.

time_

Type: guint32

The timestamp for this operation.

Return value

Type: gboolean

No description available.