class

Egui::Grid

Inherits Reference < Object

Constructors

new(id : String, widths : Array(Float64) | Nil = nil)
Source

Instance methods

add(widget : Widget) : Response

Place a widget in the next column of the current row. The cell is a child Ui as wide as the (previous-frame) column width; whatever the cell ends up measuring becomes the new candidate width.

Source
end_row

egui Grid::end_row — finish this row and start a new one below.

Source
label(text : String) : Response
Source
show(ui : Ui, &block : self -> ) : Rect
Source