Create a balloon widget
PtWidget_t *PtInflateBalloon( PtWidget_t *win,
PtWidget_t *me,
int position,
char const *string,
char const *font,
PgColor_t fill,
PgColor_t text_color );
This function creates a label widget as a child of win. The widget is placed according to position, relative to me. The string sting is rendered inside the label widget using a text color of text_color, and the font specified in font. The widget itself is filled with the color specified in fill.
Valid values for position include:
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.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |