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/ptaddcallbacks.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/ptaddcallbacks.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/ptaddcallbacks.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/ptaddcallbacks.html on line 8
Add several callback entries to a callback list
void PtAddCallbacks(
PtWidget_t *widget,
unsigned long callback_type,
PtCallback_t const *callback_defs,
unsigned int num_callbacks );
ph
This function adds the number of callbacks specified by
num_callbacks to the callback list
specified by callback_type
(e.g. Pt_CB_ACTIVATE).
The callback_defs argument contains
the address of an array of
PtCallback_t
structures.
See the Photon Widget Reference.
PtWidget_t *widget
PtCallback_t callbacks[]={
my_first_callback, NULL ,
my_second_callback, "Number 2",
my_last_callback, NULL
};
…
PtAddCallbacks( widget, Pt_CB_ACTIVATE, callbacks, 3 );
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtAddCallback(),
PtAddEventHandler(),
PtAddEventHandlers(),
PtAddFilterCallback(),
PtAddFilterCallbacks(),
PtAddHotkeyHandler(),
PtRemoveCallback(),
PtRemoveCallbacks(),
PtCallback_t
in the Photon Widget Reference
Managing Widgets in Application Code
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/ptaddcallbacks.html on line 154
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/ptaddcallbacks.html on line 154