Handbook
Glossary
cell-dims ( grid-layout -- dims )
Vocabulary
ui
.
gadgets
.
grids
.
private
Inputs
grid-layout
an
object
Outputs
dims
an
object
Definition
USING:
accessors
kernel
sequences
;
IN:
ui.gadgets.grids.private
:
cell-dims
( grid-layout -- dims )
dup
fill?>>
[
[
column-widths>>
]
[
row-heights>>
]
bi
cartesian-product
flip
]
[
grid>>
[
[
pref-dim>>
]
map
]
map
]
if
;