All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

drop-object-pane-x

drop-object-pane-y Functions

Summary

Gets the coordinates in the pane that an object is being dropped over.

Package

capi

Signatures

drop-object-pane-x drop-object => x-coord

drop-object-pane-y drop-object => y-coord

Arguments
drop-object
A drop-object, as passed to the drop-callback.
Values
x-coord, y-coord
Integers.
Description

The functions drop-object-pane-x and drop-object-pane-y return the x and y coordinates within the pane that the object is being dropped over in the dropping operation for drop-object. This information is only meaningful when the pane is an instance of output-pane or one of its subclasses.

Notes

drop-object-pane-x and drop-object-pane-y should only be called within a drop-callback. They are not supported on X11/Motif. See simple-pane for information about drop callbacks.

See also

simple-pane
17 Drag and Drop


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42