Function egui::menu::bar [−][src]
pub fn bar<R>(
ui: &mut Ui,
add_contents: impl FnOnce(&mut Ui) -> R
) -> InnerResponse<R>
The menu bar goes well in TopPanel,
but can also be placed in a Window.
In the latter case you may want to wrap it in Frame.