[Previous] [Contents] [Index] [Next]

PtMessageBox()

Pop up a message box

Synopsis:

int PtMessageBox( PtWidget_t *parent, 
                  char const *title,
                  char const *question, 
                  char const *font, 
                  char const *btn );

Description:

This function displays a message that blocks input to the specified parent widget until the message has been acknowledged. If no parent is specified, blocking won't occur, but the message will persist until it's acknowledged. If specified, the parent must be a window.

This function returns immediately.

Returns:

0
Success.
-1
Failure occurred due to lack of memory.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]