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/widget_ref/ptcallbackinfo_t.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/widget_ref/ptcallbackinfo_t.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/widget_ref/ptcallbackinfo_t.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/widget_ref/ptcallbackinfo_t.html on line 8
Specific callback information
typedef struct Pt_callback_info {
unsigned long reason;
unsigned long reason_subtype;
PhEvent_t *event;
void *cbdata;
} PtCallbackInfo_t;
The PtCallbackInfo_t structure is the third
argument passed to all callback functions. You can use this
structure to determine why callbacks occurred and to get the
specific callback information.
The structure contains at least the following members:
- reason
- The reason why this callback was invoked. For example, if you cause the
widget to invoke its Pt_CB_ACTIVATE callback,
reason is Pt_CB_ACTIVATE.
- reason_subtype
- If there are different ways to invoke the
callback, this member indicates which one.
- event
- A pointer to a
PhEvent_t
structure that describes the event that caused this callback to be invoked.
- cbdata
- A pointer to callback-specific data.
For more information about these fields, see the descriptions of callbacks
for each widget.
Photon
PtBalloonCallback_t,
PtCallback_t,
PtHotkeyCallback_t,
PtRawCallback_t
PhEvent_t
in the Photon Library 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/widget_ref/ptcallbackinfo_t.html on line 111
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/widget_ref/ptcallbackinfo_t.html on line 111