![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Get a callback list
void *PtGetCallbackList( PtWidget_t *widget,
                         long cb_type );
This function returns the requested callback list of cb_type.
A pointer to a PtCallbackList_t if the callback list type exists, NULL otherwise.
PtCallbackList_t *cb;
if( (cb = PtGetCallbackList( widget, Pt_CB_ARM) ) {
    // do the work to create and fill in the callback data
   ...
   PtInvokeCallbackList( cb, widget, &cbinfo );
}
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtInvokeCallbackList(), PtInvokeCallbackType().
PtCallbackInfo_t in the Photon Widget Reference
![]()  | 
![]()  | 
![]()  | 
![]()  |