Programmer's Reference


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.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]