Renders an X glyph in the top-right of every panel's title bar; left- click on it calls M.close(). Hit-test in _dispatch_event runs before the widget-forward path so the click is consumed by the panel-frame even when a widget would otherwise handle it. Pairs with the existing ESC-close-pattern that lives at module level.
22 KiB
22 KiB