Skip to main content

decide_close

Function decide_close 

Source
pub fn decide_close(
    run_in_background: bool,
    tray_ready: bool,
    quit_requested: bool,
) -> CloseDecision
Expand description

Hides to the tray only when background mode is on, the tray exists, and the user didn’t choose Quit.