RGtk2 (version 2.20.31)

gtkDragSourceSet: gtkDragSourceSet

Description

Sets up a widget so that GTK+ will start a drag operation when the user clicks and drags on the widget. The widget must have a window.

Usage

gtkDragSourceSet(object, start.button.mask, targets, actions)

Arguments

object
start.button.mask
the bitmask of buttons that can start the drag
targets
the table of targets that the drag will support, may be NULL. [ allow-none ][ array length=n_targets]
actions
the bitmask of possible actions for a drag from this widget