public weak DragContext drag_begin (Widget widget, TargetList targets, DragAction actions, int button, Event? event)
Warning: drag_begin is deprecated since "3.10".
This function is equivalent to drag_begin_with_coordinates, passing -1, -1 as coordinates.
Use drag_begin_with_coordinates instead
the source widget
The targets (data formats) in which the source can provide the data
A bitmask of the allowed drag actions for this drag
The button the user clicked to start the drag
The event that triggered the start of the drag, or null if none can be obtained.
the context for this drag