Method
GtkIconViewcreate_drag_icon
since: 2.8
Declaration [src]
cairo_surface_t*
gtk_icon_view_create_drag_icon (
GtkIconView* icon_view,
GtkTreePath* path
)
Description [src]
Creates a #cairo_surface_t representation of the item at path
.
This image is used for a drag icon.
Available since: 2.8
Parameters
path
-
Type:
GtkTreePath
A
GtkTreePath
inicon_view
.The data is owned by the caller of the method.
Return value
Type: cairo_surface_t
A newly-allocated surface of the drag icon.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |