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

FreeBSD Manual Pages

  
 
  

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

NAME
       EZ_RegisterPrimitiveWidget - register a primitive widget	to EZWGL

SYNOPSIS
       #include	<EZ.h>

       int   EZ_RegisterPrimitiveWidget(char *iname, char *cname,
			   void	 (*Setup)	(EZ_Widget *widget),
		     void  (*ComputeSize) (EZ_Widget *widget, int *w, int *h),
			   void	 (*DrawWidget)	(EZ_Widget *widget),
			   void	 (*FreeData)	(EZ_Widget *widget),
			   void	 (*EventHandle)	(EZ_Widget *widget, XEvent *event) )

DESCRIPTION
       This  function registers	a primitive widget to EZWGL and	returns	an in-
       teger type identifier.  Once registered,	the widget can be instantiated
       by calling EZ_CreateWidget with the corresponding type.

SEE ALSO
       EZ_RegisterCompositeWidget(3)

EZWGL						 EZ_RegisterPrimitiveWidget(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

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

home | help