[Previous] [Contents] [Index] [Next]

PtDestroyWidget()

Remove a widget from the widget hierarchy

Synopsis:

int PtDestroyWidget( PtWidget_t *widget );

Description:

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.

Returns:

0
Successful completion.
-1
An error occurred.

Examples:

See PtWidgetChildBack().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtEventHandler(), PtSyncPhoton(), PtCreateWidget(), PtRealizeWidget(), PtUnrealizeWidget()


[Previous] [Contents] [Index] [Next]