Function

Gdk-3.0Gdkdrag_find_window_for_screenSince 2.2

  • Finds the destination window and DND protocol to use at the given pointer position.

    This function is called by the drag source to obtain the dest_window and protocol parameters for gdk_drag_motion().

    Parameters

    • context: Gdk.DragContext
    • drag_window: Gdk.Window

      a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon

    • screen: Gdk.Screen

      the screen where the destination window is sought

    • x_root: number

      the x position of the pointer in root coordinates

    • y_root: number

      the y position of the pointer in root coordinates

    Returns [Gdk.Window, Gdk.DragProtocol]

    2.2