Remove a widget from the widget family hierarchy
int PtDestroyWidget( PtWidget_t *widget );
ph
This function performs the following on the specified widget:
The widget's resources aren't freed until the return of PtEventHandler().
See PtWidgetChildBack().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtEventHandler(), PtCreateWidget(), PtRealizeWidget(), PtUnrealizeWidget()
"Widget life cycle" in the Introduction to the Photon Programmer's Guide