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<String>; 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(&self, variable: &str, value: &str); fn unsetenv(&self, variable: &str); fn connect_launch_failed<F: Fn(&Self, &str) + 'static>(&self, f: F) -> u64; fn connect_launched<F: Fn(&Self, &AppInfo, &Variant) + 'static>(
&self,
f: F
) -> u64; }
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<String>
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(&self, variable: &str, value: &str)
fn unsetenv(&self, variable: &str)
fn connect_launch_failed<F: Fn(&Self, &str) + 'static>(&self, f: F) -> u64
fn connect_launched<F: Fn(&Self, &AppInfo, &Variant) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
Implementors
impl<O: IsA<AppLaunchContext> + IsA<Object>> AppLaunchContextExt for O