Packages
gtk4
Gdk
Drag
actions
content
device
display
formats
selected_action
surface
begin
Drag
drop_done
get_actions
get_content
get_device
get_display
get_drag_surface
get_formats
get_selected_action
get_surface
set_hotspot
cancel
dnd_finished
drop_performed
cancel
Description:
public
signal
void
cancel
(
DragCancelReason
reason)
Emitted when the drag operation is cancelled.
Parameters:
reason
The reason the drag was cancelled