enum Gtk::Orientation

Overview

Represents the orientation of widgets and other objects.

Typical examples are #Box or #GesturePan.

Defined in:

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

Enum Members

Horizontal = 0_u32

The element is in horizontal orientation.

Vertical = 1_u32

The element is in vertical orientation.

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

def vertical? #