Create an empty copy of a panel group as a popup window
PtWidget_t *PtPGCreatePopup( PtWidget_t *widget, PhPoint_t const *pos );
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:
A pointer the to new PtPanelGroup widget, or NULL if there wasn't enough memory.
To realize or otherwise manipulate the popup window, do it to the panel group's parent (using the PtWidgetParent() macro). |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhPoint_t, PtWidgetParent() in the Photon Library Reference