PtPGCreatePopup()

Create an empty copy of a panel group as a popup window

Synopsis:

PtWidget_t *PtPGCreatePopup( PtWidget_t *widget,
                             PhPoint_t const *pos );

Description:

This function creates an empty copy of the PtPanelGroup specified by widget, in the form of a popup window. The popup window is positioned at pos, or at (0,0) if pos is NULL.

PtPGCreatePopup() copies the following resources into the new panel group:

Returns:

A pointer the to new PtPanelGroup widget, or NULL if there wasn't enough memory.


Note: To realize or otherwise manipulate the popup window, do it to the panel group's parent (using the PtWidgetParent() macro).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtPanelGroup

PhPoint_t, PtWidgetParent() in the Photon Library Reference