'\" t .\" MainWinE.sgm /main/8 1996/09/08 20:53:34 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmMainWindowSetAreas" 3 .SH "NAME" \fBXmMainWindowSetAreas\fP \(em A MainWindow function that identifies manageable children for each area "XmMainWindowSetAreas" "MainWindow functions" "XmMainWindowSetAreas" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmMainWindowSetAreas\fP\fR( \fBWidget \fBwidget\fR\fR, \fBWidget \fBmenu_bar\fR\fR, \fBWidget \fBcommand_window\fR\fR, \fBWidget \fBhorizontal_scrollbar\fR\fR, \fBWidget \fBvertical_scrollbar\fR\fR, \fBWidget \fBwork_region\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmMainWindowSetAreas\fP 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\&. .PP 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\&. .PP \fBNOTE:\fP \fBXmMainWindowSetAreas\fP is obsolete and exists for compatibility with previous releases\&. The information previously returned by this function can now be obtained through a call to \fBXtGetValues\fP on the \fBXmNscrolledWindowChildType\fP resource\&. .IP "\fIwidget\fP" 10 Specifies the MainWindow widget ID\&. .IP "\fImenu_bar\fP" 10 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 \fBXmNmenuBar\fP\&. .IP "\fIcommand_window\fP" 10 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 \fBXmNcommandWindow\fP\&. .IP "\fIhorizontal_scrollbar\fP" 10 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 \fBXmNhorizontalScrollBar\fP\&. .IP "\fIvertical_scrollbar\fP" 10 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 \fBXmNverticalScrollBar\fP\&. .IP "\fIwork_region\fP" 10 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 \fBXmNworkWindow\fP\&. .PP For a complete definition of MainWindow and its associated resources, see \fBXmMainWindow\fP(3)\&. .SH "RELATED" .PP \fBXmMainWindow\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:27