Function egui::menu::stationary_menu_image_impl
source ยท fn stationary_menu_image_impl<'c, R>(
ui: &mut Ui,
image_button: ImageButton<'_>,
add_contents: Box<dyn FnOnce(&mut Ui) -> R + 'c>,
) -> InnerResponse<Option<R>>
Expand description
Build a top level menu with an image button.
Responds to primary clicks.