XmMainWindowSetAreas(3) | Library Functions Manual | XmMainWindowSetAreas(3) |
XmMainWindowSetAreas — A MainWindow function that identifies manageable children for each area "XmMainWindowSetAreas" "MainWindow functions" "XmMainWindowSetAreas"
#include <Xm/MainW.h> void XmMainWindowSetAreas( Widget widget, Widget menu_bar, Widget command_window, Widget horizontal_scrollbar, Widget vertical_scrollbar, Widget work_region);
XmMainWindowSetAreas identifies which of the valid children for each area (such as the MenuBar and work region) are to be actively managed by MainWindow. This function also sets up or adds the MenuBar, work window, command window, and ScrollBar widgets to the application's main window widget.
Each area is optional; therefore, the user can pass NULL to one or more of the following arguments. The window manager provides the title bar.
NOTE: XmMainWindowSetAreas is obsolete and exists for compatibility with previous releases. The information previously returned by this function can now be obtained through a call to XtGetValues on the XmNscrolledWindowChildType resource.
For a complete definition of MainWindow and its associated resources, see XmMainWindow(3).
XmMainWindow(3).