Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtEventHandler

PtEventHandler

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtEventHandler()

Determine the widgets involved in an event

Synopsis:

int PtEventHandler( PhEvent_t *event );

Library:

ph

Description:

This function determines which widgets were involved in the given event and invokes the appropriate callback functions. By doing this, the function enables widgets to interact with the user and to repair themselves when they've been exposed.

Returns:

The value returned by the last callback function invoked by the event, or -1 if an error occurred.

Examples:

See PhEventNext().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhEvent_t, PhEventNext(), PhEventPeek(), PhEventRead(), PtSendEventToWidget()