Method

Gtk.Entry.set_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 GtkEntryIconPosition
 

icon position

provider GdkContentProvider*
 

a GdkContentProvider

 Ownership is not transferred to the callee
actions GdkDragAction
 

a bitmask of the allowed drag actions