enable_model_drag_source


Description:

[ Version ( since = "2.8" ) ]
public void enable_model_drag_source (ModifierType start_button_mask, TargetEntry[] targets, DragAction actions)

Turns this into a drag source for automatic DND.

Calling this method sets reorderable to false.

Parameters:

this

a IconView

start_button_mask

Mask of allowed buttons to start drag

targets

the table of targets that the drag will support

actions

the bitmask of possible actions for a drag from this widget

n_targets

the number of items in targets