Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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:
- Pt_BALLOON_RIGHT
- Pt_BALLOON_LEFT
- Pt_BALLOON_TOP
- Pt_BALLOON_BOTTOM
- Pt_BALLOON_INPLACE
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
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)