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

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtRemoveFilterCallback()

Remove a single Pt_CB_FILTER entry from a widget

Synopsis:

void PtRemoveFilterCallback( 
        PtWidget_t *widget,
        unsigned long event_mask,
        PtCallbackF_t *callback,
        void *data );

Library:

ph

Description:

This function removes the first callback entry that matches event_mask, callback, and data. It removes the entry from the Pt_CB_FILTER callback list that belongs to widget

The callback argument points to a function that takes this form:

int (*callback)(PtWidget_t *, void *, PtCallbackInfo_t *)

Examples:

See PtAddFilterCallback().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAddCallback(), PtAddCallbacks(), PtAddEventHandler(), PtAddEventHandlers(), PtAddFilterCallback(), PtAddFilterCallbacks(), PtAddHotkeyHandler(), PtRemoveFilterCallbacks()

PtCallbackInfo_t in the Photon Widget Reference

"Event handlers" in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide


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