Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptchecksurfaces.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptchecksurfaces.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptchecksurfaces.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptchecksurfaces.html on line 8

PtCheckSurfaces()

Match an event with the control surfaces belonging to a widget

Synopsis:

int PtCheckSurfaces( PtWidget_t *widget,
                     PhPoint_t *point,
                     PhEvent_t *event );

Library:

ph

Description:

This function matches the given event with the control surfaces belonging to widget. If the event corresponds to a control surface, the surface's action is invoked.

PtCheckSurfaces() is usually called only from PtEventHandler(), although you can call it with a fake event if you need to.

Returns:

Pt_CONTINUE
The event wasn't processed by a control surface.
Pt_END
The event was processed by a control surface.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhEvent_t, PtEventHandler(), PhPoint_t

Control Surfaces chapter of the Photon Programmer's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptchecksurfaces.html on line 110

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptchecksurfaces.html on line 110