get_dest_item_at_pos


Description:

public bool get_dest_item_at_pos (int drag_x, int drag_y, TreePath path, IconViewDropPosition pos)

Determines the destination item for a given position.

Both drag_x and drag_y are given in icon window coordinates. Use widget_to_icon_coords() if you need to translate widget coordinates first.

Parameters:

this

a IconView

drag_x

the position to determine the destination item for

drag_y

the position to determine the destination item for

path

Return location for the path of the highlighted item, or null.

pos

Return location for the drop position, or null

Returns:

whether there is an item at the given position.