Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EZ_SetWidgetLabelString(3)	EZWGL Functions	    EZ_SetWidgetLabelString(3)

NAME
       EZ_SetWidgetLabelString,	 EZ_GetWidgetLabelString, EZ_GetWidgetLabelPo-
       sition -	retrieve information about the textual lable on	a widget

SYNOPSIS
       #include	<EZ.h>

       void  EZ_GetWidgetLabelString( EZ_Widget	*widget)
       void  EZ_SetWidgetLabelString( EZ_Widget	*widget, char *str)
       void  EZ_GetWidgetLabelPosition(	EZ_Widget *widget, int *x, int *y)

ARGUMENTS
       widget  Specifies an EZ Widget.

       str  Specifies a	string.

       x,y Specifies the return	for the	label position.

DESCRIPTION
       EZ_SetWidgetLabelString	sets the textual lable of widget to the	speci-
       fied  string  str.  Only	 the button-type widget	support	textual	labels
       (label, buttons,	menu-items and frames).

       EZ_GetWidgetLabelString	returns	the label string  of  a	 widget.   One
       should  not  modify  the	 returned data or it will corrupt the internal
       widget data structure.

       EZ_GetWidgetLabelPosition  returns the coordinate of the	starting posi-
       tion  to	render the textual label, relative to the upper	left corner of
       the widget window. The returned value depends on	the  current  geometry
       of the widget. If the widget is not viewable, it	returns	0.

SEE ALSO
	EZ_CreateWidget(3), EZ_GetWidgetGeometry(3)

EZWGL						    EZ_SetWidgetLabelString(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_SetWidgetLabelString&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help