*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmWidgetGetBaselines (3)              
Title
Content
Arch
Section
 

Contents


 XmWidgetGetBaselines(library call)       XmWidgetGetBaselines(library call)




 NAME    [Toc]    [Back]
      XmWidgetGetBaselines - Retrieves baseline information for a widget

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      Boolean XmWidgetGetBaselines(
      Widget widget,
      Dimension **baselines,
      int *line_count);

 DESCRIPTION    [Toc]    [Back]
      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.

      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.  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 XtFree.

      line_count
                Returns the number of lines in the widget

 RETURN    [Toc]    [Back]
      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.

 RELATED    [Toc]    [Back]
      XmWidgetGetDisplayRect(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmWidgetGetDisplayRect IRIX Retrieves display rectangle information for a widget
XmWidgetGetDisplayRect HP-UX Retrieves display rectangle information for a widget
XmWidgetGetDisplayRect Tru64 Retrieves display rectangle information for a widget
DXmSvnGetPrimaryWorkWidget Tru64 Retrieves (returns) the identifier (widget ID) of the primary SVN work widget.
DXmSvnGetSecondaryWorkWidget Tru64 Retrieves (returns) the identifier (widget ID) of the secondary SVN work widget.
dmPMGetAppShell IRIX retrieves the app shell widget used by the pluginmanager
XmGetDragContext Tru64 A Drag and Drop function that retrieves the DragContext widget ID associated with a timestamp
XmGetDragContext IRIX A Drag and Drop function that retrieves the DragContext widget ID associated with a timestamp
XmGetDragContext HP-UX A Drag and Drop function that retrieves the DragContext widget ID associated with a timestamp
DXmCSTextNumLines Tru64 Retrieves (returns) the number of visible lines in the compound string text widget.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service