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

ApInfo_t

Data structure for information passed to PhAB callbacks and setup functions

Synopsis:

#include <Ap.h>

typedef struct {
    short           reason;
    PtWidget_t      *widget;
    } ApInfo_t;

Description:

This structure is used as the second argument to most functions generated by PhAB, including code callbacks and module-setup functions.

The possible values for reason are:

ABR_PRE_REALIZE
Pre-realize setup function
ABR_POST_REALIZE
Post-realize setup function
ABR_CODE
Code-type callback
ABR_DONE
Done-type callback
ABR_CANCEL
Cancel-type callback

The widget argument is a pointer to the widget that invoked the callback function. This is very useful in setup functions to determine which widget initiated the link callback.

Classification:

Photon

See also:

ApWidget()

PtCallback_t in the Photon Widget Reference

Module setup functions and Code-callback functions in the Working with 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/ap/apinfot.html on line 119

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/ap/apinfot.html on line 119