pub trait AppLaunchContextExt: 'static {
    fn display(&self, info: &impl IsA<AppInfo>, files: &[File]) -> Option<GString>;
    fn environment(&self) -> Vec<OsString>;
    fn startup_notify_id(
        &self,
        info: &impl IsA<AppInfo>,
        files: &[File]
    ) -> Option<GString>; fn launch_failed(&self, startup_notify_id: &str); fn setenv(&self, variable: impl AsRef<OsStr>, value: impl AsRef<OsStr>); fn unsetenv(&self, variable: impl AsRef<OsStr>); fn connect_launch_failed<F: Fn(&Self, &str) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_launch_started<F: Fn(&Self, &AppInfo, Option<&Variant>) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_launched<F: Fn(&Self, &AppInfo, &Variant) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Available on crate feature v2_72 only.

Implementors