enum Gtk::Justification

Overview

Used for justifying the text inside a #Label widget.

Defined in:

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

Enum Members

Left = 0_u32

The text is placed at the left edge of the label.

Right = 1_u32

The text is placed at the right edge of the label.

Center = 2_u32

The text is placed in the center of the label.

Fill = 3_u32

The text is placed is distributed across the label.

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

[View source]
def fill? #

[View source]
def left? #

[View source]
def right? #

[View source]