Blame doc/man/man3/XmMenuPosition.3

Packit b099d7
'\" t
Packit b099d7
...\" MenuPos.sgm /main/9 1996/09/08 20:54:01 rws $
Packit b099d7
.de P!
Packit b099d7
.fl
Packit b099d7
\!!1 setgray
Packit b099d7
.fl
Packit b099d7
\\&.\"
Packit b099d7
.fl
Packit b099d7
\!!0 setgray
Packit b099d7
.fl			\" force out current output buffer
Packit b099d7
\!!save /psv exch def currentpoint translate 0 0 moveto
Packit b099d7
\!!/showpage{}def
Packit b099d7
.fl			\" prolog
Packit b099d7
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
Packit b099d7
\!!psv restore
Packit b099d7
.
Packit b099d7
.de pF
Packit b099d7
.ie     ?\\*(f1?? .ds f1 \\n(.f
Packit b099d7
.el .ie ?\\*(f2?? .ds f2 \\n(.f
Packit b099d7
.el .ie ?\\*(f3?? .ds f3 \\n(.f
Packit b099d7
.el .ie ?\\*(f4?? .ds f4 \\n(.f
Packit b099d7
.el .tm ? font overflow
Packit b099d7
.ft \\$1
Packit b099d7
..
Packit b099d7
.de fP
Packit b099d7
.ie     !?\\*(f4?? \{\
Packit b099d7
.	ft \\*(f4
Packit b099d7
.	ds f4\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f3?? \{\
Packit b099d7
.	ft \\*(f3
Packit b099d7
.	ds f3\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f2?? \{\
Packit b099d7
.	ft \\*(f2
Packit b099d7
.	ds f2\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f1?? \{\
Packit b099d7
.	ft \\*(f1
Packit b099d7
.	ds f1\"
Packit b099d7
'	br \}
Packit b099d7
.el .tm ? font underflow
Packit b099d7
..
Packit b099d7
.ds f1\"
Packit b099d7
.ds f2\"
Packit b099d7
.ds f3\"
Packit b099d7
.ds f4\"
Packit b099d7
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
Packit b099d7
.TH "XmMenuPosition" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBXmMenuPosition\fP \(em A RowColumn function that positions a Popup menu pane
Packit b099d7
.iX "XmMenuPosition"
Packit b099d7
.iX "RowColumn functions" "XmMenuPosition"
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/RowColumn\&.h>
Packit b099d7
\fBvoid \fBXmMenuPosition\fP\fR(
Packit b099d7
\fBWidget \fBmenu\fR\fR,
Packit b099d7
\fBXButtonPressedEvent \fB* event\fR\fR);
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
\fBXmMenuPosition\fP positions a Popup menu pane using the information in the
Packit b099d7
specified event\&. Unless an application is positioning the menu pane
Packit b099d7
itself, it must first invoke this function before managing the PopupMenu\&.
Packit b099d7
The \fIx_root\fP and \fIy_root\fP
Packit b099d7
fields
Packit b099d7
in the specified
Packit b099d7
X
Packit b099d7
event are used to
Packit b099d7
determine the menu position\&.
Packit b099d7
.IP "\fImenu\fP" 10
Packit b099d7
Specifies the PopupMenu to be positioned
Packit b099d7
.IP "\fIevent\fP" 10
Packit b099d7
Specifies the event passed to the action procedure which manages the
Packit b099d7
PopupMenu
Packit b099d7
.PP
Packit b099d7
Which corner of the PopupMenu is positioned at the \fIx_root\fP and
Packit b099d7
\fIy_root\fP
Packit b099d7
depends on the \fBXmNlayoutDirection\fP resource of the widget from
Packit b099d7
which popup occurs\&.
Packit b099d7
.PP
Packit b099d7
For a complete definition of RowColumn and its associated resources, see
Packit b099d7
\fBXmRowColumn\fP(3)\&.
Packit b099d7
.SH "RELATED"
Packit b099d7
.PP
Packit b099d7
\fBXmRowColumn\fP(3)\&.
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:27