
Gnome::Gdk4::T-drag
Class initialization
new
Initialization of a type class is simple and only needed when the standalone functions are used.
method new ( )
Enumerations
GdkDragCancelReason
Used in Gnome::Gdk4::Drag to the reason of a cancelled DND operation.
GDK_DRAG_CANCEL_NO_TARGET
; There is no suitable drop target.GDK_DRAG_CANCEL_USER_CANCELLED
; Drag cancelled by the userGDK_DRAG_CANCEL_ERROR
; Unspecified error.
Standalone Functions
drag-action-is-unique
Checks if $action
represents a single action or includes multiple actions.
When $action
is 0 - ie no action was given, True
is returned.
method drag-action-is-unique ( UInt $action --> Bool )
$action; a
bit field GdkDragAction defined in Gnome::Gdk4::T-enums
.
Return value; True
if exactly one action was given.