-
Notifications
You must be signed in to change notification settings - Fork 5
grid.um
Marek Maskarinec edited this page Oct 9, 2022
·
2 revisions
type Grid* = struct {
g: ui.Generic
w, h: th.uu
border: th.fu
elements: []ui.Element
}
A Grid container. The grid size is fixed, not dynamic like in Tk.
fn mk*(w, h: th.uu, border: th.fu = 0): Grid {
Grid's constructor
fn (g: ^Grid) get*(): ^ui.Generic {
fn (g: ^Grid) handle*() {
fn (g: ^Grid) draw*() {