The root of a widget tree must be a CwTopLevelShell. A top level shell widget has no parent. Top-level shells are created using the
createApplicationShell:argBlock: method, which is sent to the
CwTopLevelShell class. A top-level shell widget must have a child widget before it can be realized.
The resources for CwTopLevelShell include
title,
mwmDecorations,
icon,
iconPixmap, and
iconMask. The
mwmDecorations resource indicates which decorations are to be added to the shell. The following table lists the bit masks used to specify decorations. The
icon (or
iconPixmap) resources indicate the icon (or pixmap) to be used by the window manager for the application's icon, and the
iconMask resource indicates the pixmap to clip to if the icon is non-rectangular.