Function

Gdk-3.0Gdkdrag_motion

  • 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: Gdk.DragContext
    • dest_window: Gdk.Window

      the new destination window, obtained by gdk_drag_find_window()

    • protocol: Gdk.DragProtocol

      the DND protocol in use, obtained by gdk_drag_find_window()

    • x_root: number

      the x position of the pointer in root coordinates

    • y_root: number

      the y position of the pointer in root coordinates

    • suggested_action: Gdk.DragAction

      the suggested action

    • possible_actions: Gdk.DragAction

      the possible actions

    • time_: number

      the timestamp for this operation

    Returns boolean