Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmWidgetGetBaselines(3X) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XmWidgetGetBaselines(3X)      X11 SDE 5.4R3.00      XmWidgetGetBaselines(3X)


NAME
       XmWidgetGetBaselines--Retrieves baseline information for a widget

SYNOPSIS
       #include <Xm/Xm.h>

       Boolean XmWidgetGetBaselines (widget, baselines, line_count)
            Widget      widget;      Dimension   **baselines;
            int         *line_count;

DESCRIPTION
       XmWidgetGetBaselines 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.  This
       routine allocates memory for the returned data.  The application must
       free this memory using XtFree.


        widget Specifies the ID of the widget for which baseline values are
               requested

        baselines
               Returns an array that contains the value of each baseline of
               text in the widget

        line_count
               Returns the number of lines in the widget


RETURN VALUE
       Returns a Boolean value that indicates whether the widget contains a
       baseline.  If True, the function returns a value for each baseline of
       text.  If False, the function was unable to return a baseline value.

RELATED INFORMATION
       XmWidgetGetDisplayRect(3X).




















Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026