'\" t .\" MenuPos.sgm /main/9 1996/09/08 20:54:01 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 "XmMenuPosition" 3 .SH "NAME" \fBXmMenuPosition\fP \(em A RowColumn function that positions a Popup menu pane "XmMenuPosition" "RowColumn functions" "XmMenuPosition" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmMenuPosition\fP\fR( \fBWidget \fBmenu\fR\fR, \fBXButtonPressedEvent \fB* event\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmMenuPosition\fP positions a Popup menu pane using the information in the specified event\&. Unless an application is positioning the menu pane itself, it must first invoke this function before managing the PopupMenu\&. The \fIx_root\fP and \fIy_root\fP fields in the specified X event are used to determine the menu position\&. .IP "\fImenu\fP" 10 Specifies the PopupMenu to be positioned .IP "\fIevent\fP" 10 Specifies the event passed to the action procedure which manages the PopupMenu .PP Which corner of the PopupMenu is positioned at the \fIx_root\fP and \fIy_root\fP depends on the \fBXmNlayoutDirection\fP resource of the widget from which popup occurs\&. .PP For a complete definition of RowColumn and its associated resources, see \fBXmRowColumn\fP(3)\&. .SH "RELATED" .PP \fBXmRowColumn\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:27