Process Photon events until a given widget is destroyed
int ApModalWait( PtWidget_t *widget, unsigned flags );
Ap
ApModalWait() processes Photon events until the given widget is destroyed.
0 on success, or -1 if PtModalBlock() fails.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtBlockAllWindows(), PtBlockWindow(), PtMakeModal(), PtModalBlock(), PtUnblockWindows()
“Threads” in the Parallel Operations chapter, “Modal dialogs” in the Window Management chapter of the Photon Programmer's Guide