Learn R Programming

RGtk2 (version 2.12.17)

gdkDragFindWindow: gdkDragFindWindow

Description

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

Usage

gdkDragFindWindow(object, drag.window, x.root, y.root)

Arguments

drag.window
[GdkWindow] 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.
x.root
[integer] the x position of the pointer in root coordinates.
y.root
[integer] the y position of the pointer in root coordinates.

Value

  • A list containing the following elements:
  • dest.window[GdkWindow] location to store the destination window in.
  • protocol[GdkDragProtocol] location to store the DND protocol in.

Details

This function is called by the drag source to obtain the dest.window and protocol parameters for gdkDragMotion.