enum Gtk::PositionType

Overview

Describes which edge of a widget a certain feature is positioned at.

For examples, see the tabs of a #Notebook, or the label of a #Scale.

Defined in:

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

Enum Members

Left = 0_u32

The feature is at the left edge.

Right = 1_u32

The feature is at the right edge.

Top = 2_u32

The feature is at the top edge.

Bottom = 3_u32

The feature is at the bottom edge.

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

[View source]
def left? #

[View source]
def right? #

[View source]
def top? #

[View source]