mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 17:57:06 +00:00
menu, dialogs: rustdoc -D warnings clean: no redundant link targets on MenuBar::show; the service docs name the private with_chosen_type without linking it
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
//! prompt on the app's `DialogHost` from `FilePanels::pump_with`; a typed name without an extension gets the suggested one and a new file's
|
||||
//! uppercase extension is lowercased, while an existing file keeps its spelling (`file_dialog.rs:210 lowercased_extension`, `:365 saved_path`); the
|
||||
//! steps are separate settings of the [`ExtensionPolicy`]. A name the panel left alone takes the
|
||||
//! extension of the file type picked in the panel ([`with_chosen_type`]): the GTK file chooser keeps
|
||||
//! extension of the file type picked in the panel (`with_chosen_type`): the GTK file chooser keeps
|
||||
//! the typed name when another type is picked, and the format follows the extension.
|
||||
|
||||
use std::collections::{HashMap, VecDeque};
|
||||
|
||||
@@ -134,7 +134,7 @@ impl<'a> MenuBarUi<'a> {
|
||||
}
|
||||
|
||||
/// Draws the bar and its open menu. Disabled rows never run. A chosen item is a fired command in the frame's
|
||||
/// output; [`Builtin::Quit`](crate::Builtin::Quit) and [`Builtin::Minimize`](crate::Builtin::Minimize) act on
|
||||
/// output; [`Builtin::Quit`] and [`Builtin::Minimize`] act on
|
||||
/// the root window instead.
|
||||
pub fn show(self, ui: &mut Ui) -> MenuBarOutput {
|
||||
let env = Env::of(ui);
|
||||
|
||||
Reference in New Issue
Block a user