enum Gtk::Overflow

Overview

Defines how content overflowing a given area should be handled.

This is used in Gtk::Widget#overflow=. The Gtk::Widget#overflow property is modeled after the CSS overflow property, but implements it only partially.

Defined in:

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

Enum Members

Visible = 0_u32

No change is applied. Content is drawn at the specified position.

Hidden = 1_u32

Content is clipped to the bounds of the area. Content outside the area is not drawn and cannot be interacted with.

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

[View source]
def visible? #

[View source]