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/wid_build/libs/ptinvokecallbacktype.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/wid_build/libs/ptinvokecallbacktype.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/wid_build/libs/ptinvokecallbacktype.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/wid_build/libs/ptinvokecallbacktype.html on line 8

PtInvokeCallbackType()

Invoke a callback list of a specific type

Synopsis:

int PtInvokeCallbackType( PtWidget_t *widget,
                          long type,
                          PtCallbackInfo_t *cbinfo );

Arguments:

widget
The widget pointer to pass to the callbacks as the first argument.
type
The type of callback list to invoke, for example Pt_CB_ARM.
cbinfo
A pointer to a PtCallbackInfo_t structure (see the Photon Widget Reference) that's passed to each callback in the list as the third argument.

Description:

This function invokes a callback list of type for a widget. It's a convenience function that you can use instead of PtGetCallbackList() and PtInvokeCallbackList().

Returns:

A return status from the callback list:

If the returned status is Pt_END, have your function consume the event (i.e. return Pt_END).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGetCallbackList() and PtInvokeCallbackList()

PtCallbackInfo_t in the Photon Widget Reference


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/wid_build/libs/ptinvokecallbacktype.html on line 121

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/wid_build/libs/ptinvokecallbacktype.html on line 121