Skip to main content

decide

Function decide 

Source
pub fn decide(existing: bool, stopped: bool, has_url: bool) -> LaunchAction
Expand description

existing: 同じ名前のウィンドウがあるか。stopped: そのアプリが止まっているか(panic など)。 has_url: 起動に URL(引数)が付いているか。 止まっているウィンドウは使い回さず、新しく作る(WindowManager::add_window と同じ扱い)。