Dabo.ui.getSaveAs

From Dabo Wiki
Jump to: navigation, search

Signature:

dabo.ui.getSaveAs(*args, **kwargs)

Description:

Presents the user with the operating system dialog that allows them to specify a file name and a specific location. Commonly used for specifying where a user would like to save a file.

Returns:

Returns the path to the file, including the new file name, or None if no selection was made.

Comments:

You can pass along a series of file types to limit the files displayed to the user; this works exactly the same as in dabo.ui.getFile(), so see that page for more detailed usage information.