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 GtkBaselinePosition to select where to put the baseline inside the extra available space.

Defined in:

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

Instance Method Summary

Instance Method Detail

def bottom? #

def center? #

def top? #