Struct rstk::dialog::TkOpenFileChooser [−][src]
pub struct TkOpenFileChooser { /* fields omitted */ }
Expand description
Refers to the settings for TkOpenFileChooser.
Implementations
Sets parent widget - dialog is usually shown relative to parent.
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 TkOpenFileChooser
impl Send for TkOpenFileChooser
impl Sync for TkOpenFileChooser
impl Unpin for TkOpenFileChooser
impl UnwindSafe for TkOpenFileChooser
Blanket Implementations
Mutably borrows from an owned value. Read more