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/ptrawcallback_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/ptrawcallback_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/ptrawcallback_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/ptrawcallback_t.html on line 8
Event handler structure
typedef struct Pt_raw_callback {
    unsigned long   event_mask;
    int             (*event_f)(
                          PtWidget_t *,
                          void *, 
                          PtCallbackInfo_t * );
    void            *data;
    } PtRawCallback_t;
The PtRawCallback_t structure lets you specify event
handlers (raw and filter callbacks) for your application's widgets.
You use this structure when setting the
Pt_CB_RAW
or
Pt_CB_FILTER
resource
of any widget (see PtWidget) or calling
PtAddEventHandler(),
PtAddEventHandlers(),
PtAddFilterCallback(),
or
PtAddFilterCallbacks().
This structure contains at least the following members:
- event_mask
 
- A bitmap that specifies which events trigger the function specified in 
  event_f. See
  PhEvent_t in
  the Photon Library Reference.
 
- event_f
 
- A pointer to the callback function.
 
- data
 
- A pointer to data that you want to be passed as the second argument to
  the callback function.
 
Photon
PtBalloonCallback_t,
PtCallback_t,
PtCallbackInfo_t,
Pt_CB_RAW (PtWidget),
PtHotkeyCallback_t
PtAddEventHandler(),
PtAddEventHandlers()
PtAddFilterCallback(),
PtAddFilterCallbacks()
in the Photon Library Reference
“Event handlers”
in the 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/widget_ref/ptrawcallback_t.html on line 127
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/ptrawcallback_t.html on line 127