gdkDragFindWindowForScreen: gdkDragFindWindowForScreen
Description
Finds the destination window and DND protocol to use at the
given pointer position.Usage
gdkDragFindWindowForScreen(object, drag.window, screen, 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. screen
[GdkScreen] the screen where the destination window is sought. 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
. Since 2.2