Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmmainwindowsetareas(3) [redhat man page]

XmMainWindowSetAreas(library call)										XmMainWindowSetAreas(library call)

NAME
XmMainWindowSetAreas -- A MainWindow function that identifies manageable children for each area SYNOPSIS
#include <Xm/MainW.h> void XmMainWindowSetAreas( 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 (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. 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. 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(3). RELATED
XmMainWindow(3). XmMainWindowSetAreas(library call)

Check Out this Related Man Page

XmScrolledWindowSetAreas(library call)									    XmScrolledWindowSetAreas(library call)

NAME
XmScrolledWindowSetAreas -- A ScrolledWindow function that adds or changes a window work region and a horizontal or vertical ScrollBar wid- get to the ScrolledWindow widget SYNOPSIS
#include <Xm/ScrolledW.h> void XmScrolledWindowSetAreas( Widget widget, Widget horizontal_scrollbar, Widget vertical_scrollbar, Widget work_region); DESCRIPTION
XmScrolledWindowSetAreas adds or changes a window work region and a horizontal or vertical ScrollBar widget to the ScrolledWindow widget for the application. Each widget is optional and may be passed as NULL. This function is obsolete and exists for compatibility with other releases. Use the XmNscrolledWindowChildType resource of XmScrolledWindow instead. widget Specifies the ScrolledWindow widget ID. horizontal_scrollbar Specifies the ScrollBar widget ID for the horizontal ScrollBar to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The resource name associated with this argument is XmNhorizontalScroll- Bar. vertical_scrollbar Specifies the ScrollBar widget ID for the vertical ScrollBar to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The resource name associated with this argument is XmNverticalScrollBar. work_region Specifies the widget ID for the work window to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The attribute name associated with this argument is XmNworkWindow. For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3). RELATED
XmScrolledWindow(3). XmScrolledWindowSetAreas(library call)
Man Page