Skip to main content

system_chooser_refusal

Function system_chooser_refusal 

Source
pub fn system_chooser_refusal(ctx: &Context) -> Option<&'static str>
Expand description

Why the system’s chooser is refused here, the first reason found, or None:

  • "cfg(test)": this crate’s own unit tests;
  • "test harness": refuse_system_chooser was called (each of egui_pop_test’s harnesses does);
  • "EGUI_POP_TEST": TEST_ENV is set;
  • "nextest": the process is a test of cargo-nextest (NEXTEST);
  • "no window": the frames come with no window’s focus, as with egui_kittest or a bare Context::run. A window of eframe or egui-winit always says whether it has the focus.