Block all of an application's windows, except the one containing a given widget
void PtMakeModal( PtWidget_t *widget, unsigned short cursor, PgColor_t cursor_color );
ph
PtMakeModal() blocks all windows except the one that contains widget (using PtBlockAllWindows()), and attaches a destroyed callback that will unblock them (using PtUnblockWindows()).
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
ApModalWait(), PgColor_t, PtBlockAllWindows(), PtBlockWindow(), PtUnblockWindows()
“Modal dialogs” in the Window Management chapter of the Photon Programmer's Guide