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

FreeBSD Manual Pages

  
 
  

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

NAME
       EZ_DestroyWidget	- destroy a widget and its descendants

SYNOPSIS
       #include	<EZ.h>

       void EZ_DestroyWidget( EZ_Widget	*widget)

ARGUMENTS
       widget  Specifies an EZ widget.

DESCRIPTION
       EZ_DestroyWidget	 destroies  a  widget and all its descendants.	It in-
       vokes the destroy callbacks registered to widget	and releases  all  re-
       sources allocated for widget. A destroied widget	should never be	refer-
       enced again.

       The actual destruction is completed in two steps. In the	first step, it
       recursively  descends  the widget tree, remove the widget and its chil-
       dren from the widget hash table,	inserts	them into the destroyed	widget
       list  and  mark	the  widget  and its children destroyed. In the	second
       step, it	invokes	the destroy callbacks in post-order (invoke children's
       destroy callbacks first)	and then dereference the allocated resources.

SEE ALSO
       EZ_CreateWidget(3)

EZWGL							   EZ_DestroyWidget(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_DestroyWidget&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help