Trait gio::AppLaunchContextExt [−][src]
pub trait AppLaunchContextExt { fn get_display<P: IsA<AppInfo>>(
&self,
info: &P,
files: &[File]
) -> Option<String>; fn get_environment(&self) -> Vec<OsString>; fn get_startup_notify_id<P: IsA<AppInfo>>(
&self,
info: &P,
files: &[File]
) -> Option<String>; fn launch_failed(&self, startup_notify_id: &str); fn setenv<P: AsRef<OsStr>, Q: AsRef<OsStr>>(&self, variable: P, value: Q); fn unsetenv<P: AsRef<OsStr>>(&self, variable: P); fn connect_launch_failed<F: Fn(&Self, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_launched<F: Fn(&Self, &AppInfo, &Variant) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required Methods
fn get_display<P: IsA<AppInfo>>(
&self,
info: &P,
files: &[File]
) -> Option<String>
&self,
info: &P,
files: &[File]
) -> Option<String>
fn get_environment(&self) -> Vec<OsString>
fn get_startup_notify_id<P: IsA<AppInfo>>(
&self,
info: &P,
files: &[File]
) -> Option<String>
&self,
info: &P,
files: &[File]
) -> Option<String>
fn launch_failed(&self, startup_notify_id: &str)
fn setenv<P: AsRef<OsStr>, Q: AsRef<OsStr>>(&self, variable: P, value: Q)
fn unsetenv<P: AsRef<OsStr>>(&self, variable: P)
fn connect_launch_failed<F: Fn(&Self, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_launched<F: Fn(&Self, &AppInfo, &Variant) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<AppLaunchContext> + IsA<Object>> AppLaunchContextExt for O