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:

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.

Instance Method Summary

Instance Method Detail

def hidden? #

def visible? #