![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Add several Pt_CB_FILTER entries to a widget
void PtAddFilterCallbacks( 
         PtWidget_t *widget,
         PtRawCallback_t const *callback_defs,
         unsigned int num_handlers );
ph
This function adds the number of event handlers specified by num_handlers to the Pt_CB_FILTER callback list that belongs to widget.
![]()  | 
The widget needs to have Pt_GETS_FOCUS set in its Pt_ARG_FLAGS in order to receive key events. | 
The callback_defs argument points to an array of PtRawCallback_t, structures. See the Photon Widget Reference.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtAddCallback(), PtAddCallbacks(), PtAddEventHandler(), PtAddEventHandlers(), PtAddFilterCallback(), PtAddHotkeyHandler(), PtRemoveFilterCallback(), PtRemoveFilterCallbacks()
PtRawCallback_t, Pt_CB_FILTER in the Photon Widget Reference
"Event handlers" in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |