GtkWidget* gtk_drag_icon_create_widget_for_value ( const GValue* value )
Creates a widget that can be used as a drag icon for the given
Supported types include strings,
If GTK does not know how to create a widget for a given value,
it will return
This method is used to set the default drag icon on drag-and-drop
operations started by
GtkDragSource, so you don’t need to set
a drag icon using this function there.
The data is owned by the caller of the function.
value as a drag icon.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|
|The return value can be |