center in top-level-window<%>
Centers the window on the screen if it has no parent. If it has a parent, the window is centered with respect to its parent's location.
(-> voidsenda-top-level-windowcenterdirection)
direction=: symbol in'both'(horizontal vertical both)If
directionis'horizontal, the window is centered horizontally. Ifdirectionis'vertical, the window is centered vertically. Ifdirectionis'both, the window is centered in both directions.