Package: gtk

Function gtk:icon-view-enable-model-drag-source

Lambda List

gtk:icon-view-enable-model-drag-source (view mask formats actions)

Arguments

view -- a gtk:icon-view widget
mask -- a gdk:modifier-type value with the allowed buttons to start drag
formats -- a gdk:content-formats instance with the formats that the drag will support
actions -- a gdk:drag-action value with the possible actions for a drag from this widget

Details

Turns the icon view into a drag source for automatic DND. Calling this method sets the reorderable property to the false value.

Warning

The gtk:icon-view implementation is deprecated since 4.10. Use the gtk:grid-view implementation instead.
 

See also

#2024-7-9