Unix/Linux Go Back    

CentOS 7.0 - man page for xmwidgetgetbaselines (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XmWidgetGetBaselines(library call)			       XmWidgetGetBaselines(library call)

       XmWidgetGetBaselines -- Retrieves baseline information for a widget

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

       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.

		 Returns the number of lines in the widget

       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.


							       XmWidgetGetBaselines(library call)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 12:30 PM.