enum Gtk::BaselinePosition

Overview

Baseline position in a row of widgets.

Whenever a container has some form of natural row it may align children in that row along a common typographical baseline. If the amount of vertical space in the row is taller than the total requested height of the baseline-aligned children then it can use a Gtk::BaselinePosition to select where to put the baseline inside the extra available space.

Defined in:

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

Enum Members

Top = 0_u32

Align the baseline at the top

Center = 1_u32

Center the baseline

Bottom = 2_u32

Align the baseline at the bottom

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

def center? #

def top? #