MCPcopy Create free account
hub / github.com/emilk/egui_plot / top_bar

Method top_bar

demo/src/app.rs:72–81  ·  view source on GitHub ↗
(ui: &mut egui::Ui)

Source from the content-addressed store, hash-verified

70 }
71
72 fn top_bar(ui: &mut egui::Ui) {
73 egui::Panel::top("top_panel").show(ui, |ui| {
74 egui::MenuBar::new().ui(ui, |ui| {
75 egui::widgets::global_theme_preference_buttons(ui);
76
77 ui.add_space(16.0);
78 ui.hyperlink_to(format!("{GITHUB} egui_plot on GitHub"), GITHUB_URL);
79 });
80 });
81 }
82
83 fn thumbnails_panel(&mut self, ui: &mut egui::Ui, default_width: f32) {
84 egui::Panel::left("examples_panel")

Callers

nothing calls this directly

Calls 2

showMethod · 0.80
uiMethod · 0.45

Tested by

no test coverage detected