pub fn global_theme_preference_buttons(ui: &mut Ui)Available on crate feature
egui only.Expand description
Show a row of buttons for changing the theme of the whole app.
There is one button for each crate::ThemePreference:
dark mode, light mode, and following the system theme.
The button of the current preference is highlighted.
Each button is a small icon, so this fits in a top bar.