Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — MultiPersonal System R32V2

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmMainWindowSetAreas(3Xm)          XmMainWindowSetAreas(3Xm)



     NAME
          XmMainWindowSetAreas - a MainWindow function that
          identifies manageable children for each area.


     AES SUPPORT LEVEL
          full-use

     SYNOPSIS
          #include <Xm/MainW.h>

          void XmMainWindowSetAreas (widget, menu_bar,
          command_window, horizontal_scrollbar,
                              vertical_scrollbar, work_region)
               Widget    widget;
               Widget    menu_bar;
               Widget    command_window;
               Widget    horizontal_scrollbar;
               Widget    vertical_scrollbar;
               Widget    work_region;


     DESCRIPTION
          XmMainWindowSetAreas identifies which of the valid
          children for each area (MenuBar, work region, etc.) 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.

          menu_bar    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.

          command_window
                      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.




                                - 1 -





     XmMainWindowSetAreas(3Xm)          XmMainWindowSetAreas(3Xm)



          horizontal_scrollbar
                      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.

          vertical_scrollbar
                      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.

          work_region 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).























                                - 2 -



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026