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/ptgetcallbacklist.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/ptgetcallbacklist.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/ptgetcallbacklist.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/ptgetcallbacklist.html on line 8

PtGetCallbackList()

Get a callback list

Synopsis:

void *PtGetCallbackList( PtWidget_t *widget,
                         long cb_type );

Arguments:

widget
The widget pointer to get the callback list from.
cb_type
The callback list type to return.

Description:

This function returns the requested callback list of cb_type.

Returns:

A pointer to a PtCallbackList_t if the callback list type exists, NULL otherwise.

Examples:

PtCallbackList_t *cb;
if( (cb = PtGetCallbackList( widget, Pt_CB_ARM) ) {
    // do the work to create and fill in the callback data
   ...
   PtInvokeCallbackList( cb, widget, &cbinfo );
}

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtInvokeCallbackList(), PtInvokeCallbackType().

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/ptgetcallbacklist.html on line 115

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/ptgetcallbacklist.html on line 115