prompt method
prompt
Displays a modal text field prompt with the given message, waits for the user to dismiss it, and returns the value that the user entered. If the user cancels the prompt, then returns null instead. If the second argument is present, then the given value is used as a default.
Returns
Returns the value that the user entered
def prompt(self, message, default):
...
Parameter | Type | Description |
---|---|---|
message | str | The message. |
default | str | The default. |
See Also
- module
aspose.svg.window
- class
IWindow