A panel is a subwindow for placing panel items, such as buttons and text items. Its parent must be a frame.
Note that a dialog box may be used in a similar way to a panel.
The following callbacks are valid for the panel class:
OnSize.
See window-add-callback for details.