enum Gtk::ScrollablePolicy

Overview

Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation.

Defined in:

auto/gtk-4.0/gtk.cr

Enum Members

Minimum = 0_u32

Scrollable adjustments are based on the minimum size

Natural = 1_u32

Scrollable adjustments are based on the natural size

Instance Method Summary

Instance Method Detail

def minimum? #

def natural? #