'\" t .\" WidgetGA.sgm /main/8 1996/09/08 21:21:47 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 "XmWidgetGetBaselines" 3 .SH "NAME" \fBXmWidgetGetBaselines\fP \(em Retrieves baseline information for a widget "XmWidgetGetBaselines" .SH "SYNOPSIS" .PP .nf #include \fBBoolean \fBXmWidgetGetBaselines\fP\fR( \fBWidget \fBwidget\fR\fR, \fBDimension **\fBbaselines\fR\fR, \fBint *\fBline_count\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmWidgetGetBaselines\fP returns an array that contains one or more baseline values associated with the specified widget\&. The baseline of any given line of text is a vertical offset in pixels from the origin of the widget\&'s bounding box to the given baseline\&. .IP "\fIwidget\fP" 10 Specifies the ID of the widget for which baseline values are requested .IP "\fIbaselines\fP" 10 Returns an array that contains the value of each baseline of text in the widget\&. The function allocates space to hold the returned array\&. The application is responsible for managing the allocated space\&. The application can recover this allocated space by calling \fBXtFree\fP\&. .IP "\fIline_count\fP" 10 Returns the number of lines in the widget .SH "RETURN" .PP Returns a Boolean value that indicates whether the widget contains a baseline\&. If the value is True, the function returns a value for each baseline of text\&. If it is False, the function was unable to return a baseline value\&. .SH "RELATED" .PP \fBXmWidgetGetDisplayRect\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:36