Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmcreatemainwindow(3x) [osf1 man page]

XmCreateMainWindow(3X)													    XmCreateMainWindow(3X)

NAME
XmCreateMainWindow - The MainWindow widget creation function SYNOPSIS
#include <Xm/MainW.h> Widget XmCreateMainWindow (parent, name, arglist, argcount) Widget parent; String name; ArgList arglist; Cardinal argcount; DESCRIPTION
XmCreateMainWindow creates an instance of a MainWindow widget and returns the associated widget ID. Specifies the parent widget ID Speci- fies the name of the created widget Specifies the argument list Specifies the number of attribute/value pairs in the argument list (arglist) For a complete definition of MainWindow and its associated resources, see XmMainWindow(3X). RETURN VALUE
Returns the MainWindow widget ID. SEE ALSO
XmMainWindow(3X) XmCreateMainWindow(3X)

Check Out this Related Man Page

XmMainWindowSetAreas(3X)												  XmMainWindowSetAreas(3X)

NAME
XmMainWindowSetAreas - A MainWindow function that identifies manageable children for each area 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 (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. Specifies the MainWindow widget ID. 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. 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 Main- Window widget. The attribute name associated with this argument is XmNcommandWindow. 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. 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 associ- ated with this argument is XmNverticalScrollBar. 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). SEE ALSO
XmMainWindow(3X) XmMainWindowSetAreas(3X)
Man Page