Defines | |
| #define | readDataCast int (*)(void *) |
| #define | showDataCast int (*)(PARAM *, void *) |
Functions | |
| int | pvFileDialog (PARAM *p, int id_return, int type) |
| int | pvPopupMenu (PARAM *p, int id_return, const char *text) |
| int | pvMessageBox (PARAM *p, int id_return, int type, const char *text, int button0, int button1, int button2) |
| int | pvInputDialog (PARAM *p, int id_return, const char *text, const char *default_text) |
| int | pvRunModalDialog (PARAM *p, int width, int height, int(*showMask)(PARAM *p), void *userData, int(*readData)(void *d), int(*showData)(PARAM *p, void *d), void *d) |
| int | pvRunModalDialogScript (PARAM *p, int width, int height) |
| int | pvTerminateModalDialog (PARAM *p) |
| int | pvUpdateBaseWindow (PARAM *p) |
| int | pvUpdateBaseWindowOnOff (PARAM *p, int onoff) |
|
|
Open and run a modal dialog box |
|
|
|
|
||||||||||||||||
|
Open a file selection dialog on the client id_return is send in a TEXT_EVENT type = FileOpenDialog|FileSaveDialog|FindDirectoryDialog FileDialogs. |
|
||||||||||||||||||||
|
Open a InputDialog on the client id_return is send in a TEXT_EVENT if user clicked Cancel TEXT_EVENT will return "" |
|
||||||||||||||||||||||||||||||||
|
Open a MessageBox on the client id_return is send in a SLIDER_EVENT type = BoxInformation|BoxWarning|BoxCritical MessageBoxTypes. if buttonX == 0 the button is not shown |
|
||||||||||||||||
|
Open a PopupMenu on the client id_return is send in a TEXT_EVENT The Text will be the selected item or "" Example for text: menu1,menu2,,menu3 (Two commas means, separator) |
|
||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||
|
For script languages: pvRunModalDialogScript(...) mask->show() pvTerminateModalDialog(...) |
|
|
Terminate the modal dialog box |
|
|
Call this function from a ModalDialog in order to update the base window |
|
||||||||||||
|
Call this function from a script language pvUpdateBaseWindowOnOff($p,1); base->readData(); base->showData(); pvUpdateBaseWindowOnOff($p,0); |
1.4.6