enum Adw::WrapPolicy

Overview

Describes line wrapping behavior in a #WrapLayout or #WrapBox.

See [property@WrapLayout:wrap-policy] and [property@WrapBox:wrap-policy].

Defined in:

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

Enum Members

Minimum = 0_u32

Fit as many children into each line as possible, shrinking them down to their minimum size before wrapping to the next line.

Natural = 1_u32

Wrap to the next line as soon as the previous line cannot fit any more children without shrinking them past their natural size.

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

def natural? #