[][src]Function egui::menu::bar

pub fn bar<R>(
    ui: &mut Ui,
    add_contents: impl FnOnce(&mut Ui) -> R
) -> (R, Response)

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.