Trait cacao::filesystem::traits::OpenSaveController
source · [−]pub trait OpenSaveController {
fn user_entered_filename(&self, _filename: &str, _confirmed: bool) { ... }
fn panel_selection_did_change(&self) { ... }
fn did_change_to_directory(&self, _url: &str) { ... }
fn will_expand(&self, _expanding: bool) { ... }
fn should_enable_url(&self, _url: &str) -> bool { ... }
}
Provided Methods
fn user_entered_filename(&self, _filename: &str, _confirmed: bool)
fn user_entered_filename(&self, _filename: &str, _confirmed: bool)
Called when the user has entered a filename (typically, during saving). confirmed
indicates whether or not they hit the save button.
fn panel_selection_did_change(&self)
fn panel_selection_did_change(&self)
Notifies you that the panel selection changed.
fn did_change_to_directory(&self, _url: &str)
fn did_change_to_directory(&self, _url: &str)
Notifies you that the user changed directories.
fn will_expand(&self, _expanding: bool)
fn will_expand(&self, _expanding: bool)
Notifies you that the Save panel is about to expand or collapse because the user clicked the disclosure triangle that displays or hides the file browser.
fn should_enable_url(&self, _url: &str) -> bool
fn should_enable_url(&self, _url: &str) -> bool
Determine whether the specified URL should be enabled in the Open panel.