Opal::UI::GridContainer
Inherits Opal::UI::Control < Opal::UI::InputHookable < Opal::UI::Element < Opal::UI::Themable < Reference < Object
Modern 2D CSS-style Grid container inspired by Python Textual's Grid layout. Distributes cells across rows and columns using fractional (fr) units, fixed widths, spans, and gutters.
Constructors
Instance methods
Adds child element to specific grid coordinate with optional spans
columns
SourceComputes pixel column widths given available width
Computes pixel row heights given available height
gutter_x
Sourcegutter_y
SourceDefault key event handler. Override in subclasses if not using @default_input_proc.
Default mouse event handler. Override in subclasses if not using @default_input_proc.
items
Sourcerows
Source