DragAndDrop.sourceSet

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.

Parameters

widget Widget

a GtkWidget

startButtonMask GdkModifierType

the bitmask of buttons that can start the drag

targets GtkTargetEntry[]

the table of targets that the drag will support, may be NULL. [allow-none][array length=n_targets]

actions GdkDragAction

the bitmask of possible actions for a drag from this widget

Meta