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

PtBalloonCallback_t

Balloon callback structure

Synopsis:

typedef struct Pt_balloon_callback {
    PtWidget_t *widget;
    void (*event_f)( PtWidget_t *wgt, 
                     void *data, 
                     PtCallbackInfo_t *cbinfo);
    } PtBalloonCallback_t;

Description:

The PtBalloonCallback_t structure lets you attach a balloon callback to a widget's container. The container invokes the specified function whenever a balloon action is warranted. This structure contains at least:

widget
A pointer to the widget the callback is being attached to.
event_f
A pointer to an inflate/deflate function that's called whenever a balloon action is required for widget. The arguments passed to this function are:
wgt
A pointer to the widget whose balloon is being affected.
data
NULL.
cbinfo
In the cbinfo structure, the reason member is Pt_CB_BALLOONS, and the reason_subtype member is one of the following:
  • Pt_INFLATE_BALLOON— make the balloon visible.
  • Pt_POP_BALLOON— remove the balloon.

Classification:

Photon

See also:

PtCallbackInfo_t, PtContainer


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/ptballooncallback_t.html on line 120

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/ptballooncallback_t.html on line 120