Trait DesktopAppInfoExt

Source
pub trait DesktopAppInfoExt: 'static {
Show 14 methods // 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_is_hidden(&self) -> bool; 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>, ); fn list_actions(&self) -> Vec<GString>;
}

Required Methods§

Source

fn get_action_name(&self, action_name: &str) -> Option<GString>

Source

fn get_boolean(&self, key: &str) -> bool

Source

fn get_categories(&self) -> Option<GString>

Source

fn get_filename(&self) -> Option<PathBuf>

Source

fn get_generic_name(&self) -> Option<GString>

Source

fn get_is_hidden(&self) -> bool

Source

fn get_keywords(&self) -> Vec<GString>

Source

fn get_nodisplay(&self) -> bool

Source

fn get_show_in(&self, desktop_env: Option<&str>) -> bool

Source

fn get_startup_wm_class(&self) -> Option<GString>

Source

fn get_string(&self, key: &str) -> Option<GString>

Source

fn has_key(&self, key: &str) -> bool

Source

fn launch_action<P: IsA<AppLaunchContext>>( &self, action_name: &str, launch_context: Option<&P>, )

Source

fn list_actions(&self) -> Vec<GString>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§