Method
GtkEntryset_icon_drag_source
Declaration [src]
void
gtk_entry_set_icon_drag_source (
GtkEntry* entry,
GtkEntryIconPosition icon_pos,
GdkContentProvider* provider,
GdkDragAction actions
)
Description [src]
Sets up the icon at the given position as drag source.
This makes it so that GTK will start a drag operation when the user clicks and drags the icon.
Parameters
icon_pos-
Type:
GtkEntryIconPositionIcon position.
provider-
Type:
GdkContentProviderA
GdkContentProviderThe data is owned by the caller of the function. actions-
Type:
GdkDragActionA bitmask of the allowed drag actions.