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

PtInflateBalloon()

Create a balloon widget

Synopsis:

PtWidget_t *PtInflateBalloon( PtWidget_t *win, 
                              PtWidget_t *me, 
                              int position, 
                              char const *string,  
                              char const *font,  
                              PgColor_t fill,
                              PgColor_t text_color );

Library:

ph

Description:

This function creates a label widget as a child of win. The widget is placed according to position, relative to me. The string is rendered inside the label widget using a text color of text_color, and the font specified in font (which you should create by calling PfGenerateFontName()). The widget itself is filled with the color specified in fill.

Valid values for position include:

Returns:

A pointer to the newly created balloon widget, or NULL if win isn't a disjoint widget (e.g. PtWindow, PtRegion, etc.) or me is NULL.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfGenerateFontName(), PgColor_t


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/pt/ptinflateballoon.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/lib_ref/pt/ptinflateballoon.html on line 127