Method

GtkEntryget_current_icon_drag_source

since: 2.16

Declaration [src]

gint
gtk_entry_get_current_icon_drag_source (
  GtkEntry* entry
)

Description [src]

Returns the index of the icon which is the source of the current DND operation, or -1.

This function is meant to be used in a GtkWidget::drag-data-get callback.

Available since: 2.16

Return value

Type: gint

Index of the icon which is the source of the current DND operation, or -1.