enum Gdk::DragCancelReason

Overview

Used in Gdk::Drag to the reason of a cancelled DND operation.

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/gdk.cr

Enum Members

NoTarget = 0_u32

There is no suitable drop target.

UserCancelled = 1_u32

Drag cancelled by the user

Error = 2_u32

Unspecified error.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def error? #

def no_target? #

def user_cancelled? #