pub fn bar<R>(
    ui: &mut Ui,
    add_contents: impl FnOnce(&mut Ui) -> R,
) -> InnerResponse<R>👎Deprecated: Use 
egui::MenuBar::new().ui( insteadExpand description
The menu bar goes well in a crate::TopBottomPanel::top,
but can also be placed in a crate::Window.
In the latter case you may want to wrap it in Frame.