Package: gtk

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

Lambda List

gtk:tree-view-enable-model-drag-source (view mask targets actions)

Arguments

view -- a gtk:tree-view widget
mask -- a gdk:modifier-type value with the mask of allowed buttons to start drag
targets -- a list of (target flags info) target entries that the drag will support
target -- a string representation of the target type
flags -- a gtk:target-flags value for DND
info -- an application assigned integer ID
actions -- a gdk:drag-action value with the bitmask of possible actions for a drag from this widget

Details

Turns the tree view into a drag source for automatic DND. Calling this method sets the reorderable property to the false value. See the gtk:target-list structure and the gtk:target-list-new function for more documentation of target entries.
 

See also

2024-3-13