enum Gtk::SizeRequestMode

Overview

Specifies a preference for height-for-width or width-for-height geometry management.

Defined in:

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

Enum Members

HeightForWidth = 0_u32

Prefer height-for-width geometry management

WidthForHeight = 1_u32

Prefer width-for-height geometry management

ConstantSize = 2_u32

Don’t trade height-for-width or width-for-height

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

def height_for_width? #

def width_for_height? #