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()