Struct rstk::dialog::TkSaveFileChooser [−][src]
pub struct TkSaveFileChooser { /* fields omitted */ }
Expand description
Refers to the settings for TkSaveFileChooser.
Implementations
Sets parent widget - dialog is usually shown relative to parent.
Set (by default) to show a warning dialog if user attempts to select an existing filename. Call this to unset and remove the warning.
Sets list of file types.
File types are passed as a list of pairs, e.g.:
let file_types = [("C++", ".cpp"), ("Rust", ".rs"), ("Any", "*")]; dialog.file_types(&file_types);
Sets initial directory of chooser.
Sets initial filename of chooser.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TkSaveFileChooser
impl Send for TkSaveFileChooser
impl Sync for TkSaveFileChooser
impl Unpin for TkSaveFileChooser
impl UnwindSafe for TkSaveFileChooser
Blanket Implementations
Mutably borrows from an owned value. Read more