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:

lib/gi-crystal/src/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

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

[View source]
def natural? #

[View source]