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/lib_ref/pt/ptmakemodal.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/lib_ref/pt/ptmakemodal.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/lib_ref/pt/ptmakemodal.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/lib_ref/pt/ptmakemodal.html on line 8

PtMakeModal()

Block all of an application's windows, except the one containing a given widget

Synopsis:

void PtMakeModal( PtWidget_t *widget,
                  unsigned short cursor,
                  PgColor_t cursor_color );

Library:

ph

Description:

PtMakeModal() blocks all windows except the one that contains widget (using PtBlockAllWindows()), and attaches a destroyed callback that will unblock them (using PtUnblockWindows()).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

ApModalWait(), PgColor_t, PtBlockAllWindows(), PtBlockWindow(), PtUnblockWindows()

Modal dialogs in the Window Management chapter of the Photon Programmer's Guide


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/lib_ref/pt/ptmakemodal.html on line 93

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/lib_ref/pt/ptmakemodal.html on line 93