Remove a widget from the widget hierarchy
int PtDestroyWidget( PtWidget_t *widget );
This function performs the following on the specified widget:
The widget's resources aren't freed until the return of PtEventHandler() or the next time PtSyncPhoton() is called.
See PtWidgetChildBack().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtEventHandler(), PtSyncPhoton(), PtCreateWidget(), PtRealizeWidget(), PtUnrealizeWidget()