| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Free the specified callbacks
int PtDestroyCallbackList( 
        PtCallbackList_t **cbp );
This function frees the entire callback list pointed to by cbp. The cbp argument is set to NULL when PtDestroyCallbackList() is successful.
|  | The widget library automatically frees all allocated resources including callback lists when a widget is destroyed. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtDestroyHotkeyCallbacks(), PtDestroyRawCallbacks()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |