Gtk.IconView.prototype.create_drag_icon
function create_drag_icon(path:Gtk.TreePath):cairo.Surface { // Gjs wrapper for gtk_icon_view_create_drag_icon() }
Creates a #cairo_surface_t representation of the item at path. This image is used for a drag icon.
Since 2.8
- path
a Gtk.TreePath in icon_view
- Returns
a newly-allocated surface of the drag icon.