[−][src]Trait gio::prelude::DesktopAppInfoExt
Required methods
fn get_action_name(&self, action_name: &str) -> Option<GString>
fn get_boolean(&self, key: &str) -> bool
fn get_categories(&self) -> Option<GString>
fn get_filename(&self) -> Option<PathBuf>
fn get_generic_name(&self) -> Option<GString>
fn get_keywords(&self) -> Vec<GString>
fn get_nodisplay(&self) -> bool
fn get_show_in(&self, desktop_env: Option<&str>) -> bool
fn get_startup_wm_class(&self) -> Option<GString>
fn get_string(&self, key: &str) -> Option<GString>
fn has_key(&self, key: &str) -> bool
fn launch_action<P: IsA<AppLaunchContext>>(
&self,
action_name: &str,
launch_context: Option<&P>
)
&self,
action_name: &str,
launch_context: Option<&P>
)
fn launch_uris_as_manager<P: IsA<AppLaunchContext>>(
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>
) -> Result<(), Error>
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>
) -> Result<(), Error>
fn list_actions(&self) -> Vec<GString>
Implementors
impl<O: IsA<DesktopAppInfo>> DesktopAppInfoExt for O
[src]
fn get_action_name(&self, action_name: &str) -> Option<GString>
[src]
fn get_boolean(&self, key: &str) -> bool
[src]
fn get_categories(&self) -> Option<GString>
[src]
fn get_filename(&self) -> Option<PathBuf>
[src]
fn get_generic_name(&self) -> Option<GString>
[src]
[src]
fn get_keywords(&self) -> Vec<GString>
[src]
fn get_nodisplay(&self) -> bool
[src]
fn get_show_in(&self, desktop_env: Option<&str>) -> bool
[src]
fn get_startup_wm_class(&self) -> Option<GString>
[src]
fn get_string(&self, key: &str) -> Option<GString>
[src]
fn has_key(&self, key: &str) -> bool
[src]
fn launch_action<P: IsA<AppLaunchContext>>(
&self,
action_name: &str,
launch_context: Option<&P>
)
[src]
&self,
action_name: &str,
launch_context: Option<&P>
)
fn launch_uris_as_manager<P: IsA<AppLaunchContext>>(
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>
) -> Result<(), Error>
[src]
&self,
uris: &[&str],
launch_context: Option<&P>,
spawn_flags: SpawnFlags,
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, Pid)>
) -> Result<(), Error>