1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

trait App now has fn name() for specifying egui_glium window title

This commit is contained in:
Emil Ernerfeldt
2020-12-18 22:30:59 +01:00
parent 71449fe61c
commit b0e17638df
9 changed files with 22 additions and 8 deletions

View File

@@ -39,6 +39,10 @@ impl Default for ExampleApp {
}
impl egui::app::App for ExampleApp {
fn name(&self) -> &str {
"Egui Fetch Example"
}
/// Called each time the UI needs repainting, which may be many times per second.
/// Put your widgets into a `SidePanel`, `TopPanel`, `CentralPanel`, `Window` or `Area`.
fn ui(