'\" t .\" GetTearO.sgm /main/7 1996/08/30 15:29:18 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 "XmGetTearOffControl" 3 .SH "NAME" \fBXmGetTearOffControl\fP \(em A RowColumn function that obtains the widget ID for the tear-off control in a menu "XmGetTearOffControl" "RowColumn functions" "XmGetTearOffControl" .SH "SYNOPSIS" .PP .nf #include \fBWidget \fBXmGetTearOffControl\fP\fR( \fBWidget \fBmenu\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmGetTearOffControl\fP provides the application with the means for obtaining the widget ID of the internally created tear-off control in a tear-off menu\&. .PP RowColumn creates a tear-off control for a PulldownMenu or PopupMenu when the \fBXmNtearOffModel\fP resource is initialized or set to \fBXmTEAR_OFF_ENABLED\fP\&. The tear-off control is a widget that appears as the first element in the menu\&. The user tears off the menu by means of mouse or keyboard events in the tear-off control\&. .PP The tear-off control has Separator-like behavior\&. Once the application has obtained the widget ID of the tear-off control, it can set resources to specify the appearance of the control\&. The application or user can also set these resources in a resource file by using the name of the control, which is \fBTearOffControl\fP\&. For a list of the resources the application or user can set, see \fBXmRowColumn\fP(3)\&. .IP "\fImenu\fP" 10 Specifies the widget ID of the RowColumn PulldownMenu or PopupMenu .PP For more information on tear-off menus and a complete definition of RowColumn and its associated resources, see \fBXmRowColumn\fP(3)\&. .SH "RETURN" .PP Returns the widget ID for the tear-off control, or NULL if no tear-off control exists\&. An application should not assume that the returned widget will be of any particular class\&. .SH "RELATED" .PP \fBXmRowColumn\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:24