enum Gtk::CornerType

Overview

Specifies which corner a child widget should be placed in when packed into a Gtk::ScrolledWindow.

This is effectively the opposite of where the scroll bars are placed.

Defined in:

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

Enum Members

TopLeft = 0_u32

Place the scrollbars on the right and bottom of the widget (default behaviour).

BottomLeft = 1_u32

Place the scrollbars on the top and right of the widget.

TopRight = 2_u32

Place the scrollbars on the left and bottom of the widget.

BottomRight = 3_u32

Place the scrollbars on the top and left of the widget.

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

def bottom_right? #

def top_left? #

def top_right? #