


XmWidgetGetBaselines(3X)			     XmWidgetGetBaselines(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmWWiiddggeettGGeettBBaasseelliinneess - Retrieves baseline information	for a widget

SYNOPSIS


  ##iinncclluuddee <<XXmm//XXmm..hh>>
  BBoooolleeaann XXmmWWiiddggeettGGeettBBaasseelliinneess ((_w_i_d_g_e_t,	_b_a_s_e_l_i_n_e_s, _l_i_n_e__c_o_u_n_t))
       WWiiddggeett	   _w_i_d_g_e_t;;
       DDiimmeennssiioonn   ****_b_a_s_e_l_i_n_e_s;;
       iinntt	   **_l_i_n_e__c_o_u_n_t;;

DESCRIPTION
  XXmmWWiiddggeettGGeettBBaasseelliinneess 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 XXttFFrreeee.

  _w_i_d_g_e_t Specifies the ID of the widget	for which baseline values are
	 requested

  _b_a_s_e_l_i_n_e_s
	 Returns an array that contains	the value of each baseline of text in
	 the widget

  _l_i_n_e__c_o_u_n_t
	 Returns the number of lines in	the widget

RETURN VALUE
  Returns a Boolean value that indicates whether the widget contains a base-
  line.	 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
  XXmmWWiiddggeettGGeettDDiissppllaayyRReecctt((33XX)).






















