Blob Blame History Raw
'\" t
...\" GetPost.sgm /main/7 1996/08/30 15:28:25 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 "XmGetPostedFromWidget" "library call"
.SH "NAME"
\fBXmGetPostedFromWidget\fP \(em A RowColumn function that returns the widget from which a menu was posted
.iX "XmGetPostedFromWidget"
.iX "RowColumn functions" "XmGetPostedFromWidget"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/RowColumn\&.h>
\fBWidget \fBXmGetPostedFromWidget\fP\fR(
\fBWidget \fBmenu\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmGetPostedFromWidget\fP returns the widget from which a menu was
posted\&.
For torn-off menus, this function returns the widget
from which the menu was originally torn\&.
An application can use this routine during the activate callback to
determine the context in which the menu callback should be interpreted\&.
.IP "\fImenu\fP" 10
Specifies the widget ID of the menu
.PP
For a complete definition of RowColumn and its associated resources, see
\fBXmRowColumn\fP(3)\&.
.SH "RETURN"
.PP
Returns the widget ID of the widget from which the menu was posted\&.
If the menu is a Popup Menu, the returned widget is the widget from
which the menu was popped up\&.
If the menu is a Pulldown Menu, the returned widget is the MenuBar or
OptionMenu from which the widget was pulled down\&.
.SH "RELATED"
.PP
\fBXmRowColumn\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:24