enum Adw::DialogPresentationMode

Overview

Describes the available presentation modes for #Dialog.

New values may be added to this enumeration over time.

See [property@Dialog:presentation-mode].

Defined in:

lib/gi-crystal/src/auto/adw-1/adw.cr

Enum Members

Auto = 0_u32

Switch between ADW_DIALOG_FLOATING and ADW_DIALOG_BOTTOM_SHEET depending on available size.

Floating = 1_u32

Present dialog as a centered floating window.

BottomSheet = 2_u32

Present dialog as a bottom sheet.

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 auto? #

def bottom_sheet? #

def floating? #