A dock_grid is a view's geometry in our compact, dockView-independent
form – nested splits and tab groups with sizes normalised to 0-1 ratios and
no volatile ids, so two casts of the same layout compare identical(). It is
authored with dock_grid() and produced by as_dock_grid(), which
casts another dock_grid (identity) or a dock_layout
(dockView's client echo) into it and is idempotent. is_dock_grid() is the
class check; validate_dock_grid() returns its input and errors on a
malformed or non-canonical grid.
Arguments
- x
Object to cast (a
dock_gridor a dock_layout), validate, or test.- ...
Passed on to methods.