Data.get_filename

Data.get_filename(mode)

Force the user to choose a new filename using a system dialog box.

Parameters:

mode (string) – The mode of file operation to be used when calling the dialog box

Returns:

str – The new filename

Note

The filename attribute of the current instance is updated by this method as well.