Method

GtkIconViewget_dest_item_at_pos

since: 2.8

Declaration [src]

gboolean
gtk_icon_view_get_dest_item_at_pos (
  GtkIconView* icon_view,
  gint drag_x,
  gint drag_y,
  GtkTreePath** path,
  GtkIconViewDropPosition* pos
)

Description [src]

Determines the destination item for a given position.

Available since: 2.8

Parameters

drag_x

Type: gint

The position to determine the destination item for.

drag_y

Type: gint

The position to determine the destination item for.

path

Type: GtkTreePath

Return location for the path of the item, or NULL.

The argument will be set by the function.
The argument can be NULL.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
pos

Type: GtkIconViewDropPosition

Return location for the drop position, or NULL.

The argument will be set by the function.
The argument can be NULL.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: gboolean

Whether there is an item at the given position.