XmMainWindowSetAreas(3X) SDK X11 R4.11MU05 XmMainWindowSetAreas(3X)
NAME
XmMainWindowSetAreas--A MainWindow function that identifies
manageable children for each area
SYNOPSIS
#include <Xm/MainW.h>
void XmMainWindowSetAreas (widget, menubar, commandwindow,
horizontalscrollbar, verticalscrollbar, workregion)
Widget widget;
Widget menubar;
Widget commandwindow;
Widget horizontalscrollbar;
Widget verticalscrollbar;
Widget workregion;
DESCRIPTION
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.
widget Specifies the MainWindow widget ID.
menubar Specifies the widget ID for the MenuBar to be associated
with the MainWindow widget. Set this ID only after
creating an instance of the MainWindow widget. The
attribute name associated with this argument is
XmNmenuBar.
commandwindow
Specifies the widget ID for the command window to be
associated with the MainWindow widget. Set this ID only
after creating an instance of the MainWindow widget.
The attribute name associated with this argument is
XmNcommandWindow.
horizontalscrollbar
Specifies the ScrollBar widget ID for the horizontal
ScrollBar to be associated with the MainWindow widget.
Set this ID only after creating an instance of the
MainWindow widget. The attribute name associated with
this argument is XmNhorizontalScrollBar.
verticalscrollbar
Specifies the ScrollBar widget ID for the vertical
ScrollBar to be associated with the MainWindow widget.
Set this ID only after creating an instance of the
MainWindow widget. The attribute name associated with
this argument is XmNverticalScrollBar.
workregion Specifies the widget ID for the work window to be
associated with the MainWindow widget. Set this ID only
after creating an instance of the MainWindow widget.
The attribute name associated with this argument is
XmNworkWindow.
For a complete definition of MainWindow and its associated resources,
see XmMainWindow(3X).
RELATED INFORMATION
XmMainWindow(3X).
Licensed material--property of copyright holder(s)