Function egui::menu::stationary_menu_impl
source ยท fn stationary_menu_impl<'c, R>(
ui: &mut Ui,
title: impl Into<WidgetText>,
add_contents: Box<dyn FnOnce(&mut Ui) -> R + 'c>,
) -> InnerResponse<Option<R>>
Expand description
Build a top level menu with a button.
Responds to primary clicks.