Constant druid::commands::SAVE_FILE_AS

source ·
pub const SAVE_FILE_AS: Selector<FileInfo>;
Expand description

Save to a given location.

This command is emitted by druid whenever a save file dialog successfully completes. The application should save its data to the path proved, and should store the path in order to handle SAVE_FILE commands in the future.

The path might be a file or a directory, so always check whether it matches your expectations.