Skip to main content

activate_spec

Function activate_spec 

pub fn activate_spec(label: String, description: String) -> ActionSpec
Expand description

The shared view action APPLICATION_ACTIVATE_ACTION (“Show this window”), called label and described by description in the reader’s language: every app’s window publishes it, a framework app’s and a tilolang host’s instance alike, and it answers {"activation_requested": true} once the window was asked to come forward.