Argument |
Data type/notes |
self |
the window (background) that is the
parent for the dialog |
message |
quoted string of alert message to be
displayed inside dialog |
title |
quoted string of text to be displayed in dialog's
title bar |
result = dialog.alertDialog(self, 'a message', 'a title')
Name of value |
Description |
accepted |
True = user clicked OK False = user clicked Cancel |
returned | string containing the name of the button clicked by
the user |