Struct relm4_components::open_button::OpenButtonSettings
source · pub struct OpenButtonSettings {
pub dialog_settings: OpenDialogSettings,
pub text: &'static str,
pub recently_opened_files: Option<&'static str>,
pub max_recent_files: usize,
}
Expand description
Configuration for the open button component
Fields§
§dialog_settings: OpenDialogSettings
Settings for the open file dialog.
text: &'static str
Text of the open button.
recently_opened_files: Option<&'static str>
Path to a file where recent files should be stored. This list is updated fully automatically.
max_recent_files: usize
Maximum amount of recent files to store. This is only used if a path for storing the recently opened files was set.