Method
Gtk IconViewenable_model_drag_source
since: 2.8
Declaration [src]
void
gtk_icon_view_enable_model_drag_source(
GtkIconView*icon_view,
GdkModifierTypestart_button_mask,
constGtkTargetEntry*targets,
gintn_targets,
GdkDragActionactions
)
Description [src]
Turns icon_view into a drag source for automatic DND. Calling this
method sets GtkIconView:reorderable to FALSE.
Available since: 2.8
Parameters
start_button_mask-
Type:
Mask of allowed buttons to start drag.
targets-
Type: An array of
GtkTargetEntryThe table of targets that the drag will support.
The length of the array is specified in then_targetsargument.The data is owned by the caller of the method. n_targets-
Type:
gintThe number of items in
targets. actions-
Type:
The bitmask of possible actions for a drag from this widget.