Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptpgcreatepopup.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptpgcreatepopup.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptpgcreatepopup.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptpgcreatepopup.html on line 8

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptpgcreatepopup.html on line 146

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptpgcreatepopup.html on line 146