Trait gio::AppInfoExt [] [src]

pub trait AppInfoExt {
    fn add_supports_type(&self, content_type: &str) -> Result<(), Error>;
    fn can_delete(&self) -> bool;
    fn can_remove_supports_type(&self) -> bool;
    fn delete(&self) -> bool;
    fn dup(&self) -> Option<AppInfo>;
    fn equal<T: IsA<AppInfo>>(&self, appinfo2: &T) -> bool;
    fn get_commandline(&self) -> Option<PathBuf>;
    fn get_description(&self) -> Option<String>;
    fn get_display_name(&self) -> Option<String>;
    fn get_executable(&self) -> Option<PathBuf>;
    fn get_id(&self) -> Option<String>;
    fn get_name(&self) -> Option<String>;
    fn launch_uris(&self,
                   uris: &[&str],
                   launch_context: Option<&AppLaunchContext>)
                   -> Result<(), Error>; fn remove_supports_type(&self, content_type: &str) -> Result<(), Error>; fn set_as_default_for_extension<T: AsRef<Path>>(&self,
                                                    extension: T)
                                                    -> Result<(), Error>; fn set_as_default_for_type(&self, content_type: &str) -> Result<(), Error>; fn set_as_last_used_for_type(&self, content_type: &str) -> Result<(), Error>; fn should_show(&self) -> bool; fn supports_files(&self) -> bool; fn supports_uris(&self) -> bool; }

Required Methods

Implementors