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
Invoke a callback list of a specific type
int PtInvokeCallbackType( PtWidget_t *widget,
long type,
PtCallbackInfo_t *cbinfo );
- 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.
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().
A return status from the callback list:
- Pt_CONTINUE
- Pt_HALT
- Pt_END
If the returned status is Pt_END, have your function
consume the event (i.e. return Pt_END).
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
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