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 );
ph
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:
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 |
PfGenerateFontName(), PgColor_t