enum Gtk::IconViewDropPosition

Overview

An enum for determining where a dropped item goes.

Defined in:

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

Enum Members

NoDrop = 0_u32

no drop possible

DropInto = 1_u32

dropped item replaces the item

DropLeft = 2_u32

dropped item is inserted to the left

DropRight = 3_u32

dropped item is inserted to the right

DropAbove = 4_u32

dropped item is inserted above

DropBelow = 5_u32

dropped item is inserted below

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.


[View source]

Instance Method Detail

def drop_above? #

Returns true if this enum value equals DropAbove


[View source]
def drop_below? #

Returns true if this enum value equals DropBelow


[View source]
def drop_into? #

Returns true if this enum value equals DropInto


[View source]
def drop_left? #

Returns true if this enum value equals DropLeft


[View source]
def drop_right? #

Returns true if this enum value equals DropRight


[View source]
def no_drop? #

Returns true if this enum value equals NoDrop


[View source]