Programmer Reference : Common Widgets : Main-window widgets
Main-window widgets
The main-window widget (CwMainWindow) is used to organize the application's menu bar and the widgets that define the application's work region. As a subclass of CwScrolledWindow, CwMainWindow class also includes all of the functionality provided by the CwScrolledWindow class and can provide scroll bars for scrolling the work region. If a main window is used, it must be the immediate child of a top-level or dialog shell.
A main-window widget is created by sending the createMainWindow:argBlock: message to a shell widget.
A CwMainWindow must always be created as the child of a CwTopLevelShell or CwDialogShell. Creating it as the child of any other widget is an error.
Last modified date: 01/29/2015