func (w *Window) Grid(rows, cols int) error { aferr := C.af_grid(w.window, C.int(rows), C.int(cols)) if aferr != 0 { return ErrGrid } return nil }
func (w *Window) Grid(rows, cols int) error { return af_call(C.af_grid(w.window, C.int(rows), C.int(cols))) }