(done_dialog [flag])
Dismiss that dialog box.
This function terminates a dialog box. It returns the x,y coordinates of the dialog box's position, which can be used by the start_dialog function to place the dialog in the same position.
Flag is an alternative return code that is returned by the start_dialog function; you can use this flag for any purpose you desire. When flag has a value greater than 1, the value is returned by the start_dialog function. Otherwise, the start_dialog function returns as follows:
Returns | Meaning |
---|---|
0 | User clicked Cancel. |
1 | User clicked OK. |
Example
Code | Returns |
---|---|
(done_dialog) | (0.000000 0.000000) |