[−][src]Trait gio::AppInfoExt
Required methods
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<P: IsA<AppInfo>>(&self, appinfo2: &P) -> bool
fn get_commandline(&self) -> Option<PathBuf>
fn get_description(&self) -> Option<GString>
fn get_display_name(&self) -> Option<GString>
fn get_executable(&self) -> Option<PathBuf>
fn get_icon(&self) -> Option<Icon>
fn get_id(&self) -> Option<GString>
fn get_name(&self) -> Option<GString>
fn get_supported_types(&self) -> Vec<GString>
fn launch<P: IsA<AppLaunchContext>>(
&self,
files: &[File],
context: Option<&P>
) -> Result<(), Error>
&self,
files: &[File],
context: Option<&P>
) -> Result<(), Error>
fn launch_uris<P: IsA<AppLaunchContext>>(
&self,
uris: &[&str],
context: Option<&P>
) -> Result<(), Error>
&self,
uris: &[&str],
context: Option<&P>
) -> Result<(), Error>
fn remove_supports_type(&self, content_type: &str) -> Result<(), Error>
fn set_as_default_for_extension<P: AsRef<Path>>(
&self,
extension: P
) -> Result<(), Error>
&self,
extension: P
) -> 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
Implementors
impl<O: IsA<AppInfo>> AppInfoExt for O
[src]
fn add_supports_type(&self, content_type: &str) -> Result<(), Error>
[src]
fn can_delete(&self) -> bool
[src]
fn can_remove_supports_type(&self) -> bool
[src]
fn delete(&self) -> bool
[src]
fn dup(&self) -> Option<AppInfo>
[src]
fn equal<P: IsA<AppInfo>>(&self, appinfo2: &P) -> bool
[src]
fn get_commandline(&self) -> Option<PathBuf>
[src]
fn get_description(&self) -> Option<GString>
[src]
fn get_display_name(&self) -> Option<GString>
[src]
fn get_executable(&self) -> Option<PathBuf>
[src]
fn get_icon(&self) -> Option<Icon>
[src]
fn get_id(&self) -> Option<GString>
[src]
fn get_name(&self) -> Option<GString>
[src]
fn get_supported_types(&self) -> Vec<GString>
[src]
fn launch<P: IsA<AppLaunchContext>>(
&self,
files: &[File],
context: Option<&P>
) -> Result<(), Error>
[src]
&self,
files: &[File],
context: Option<&P>
) -> Result<(), Error>
fn launch_uris<P: IsA<AppLaunchContext>>(
&self,
uris: &[&str],
context: Option<&P>
) -> Result<(), Error>
[src]
&self,
uris: &[&str],
context: Option<&P>
) -> Result<(), Error>
fn remove_supports_type(&self, content_type: &str) -> Result<(), Error>
[src]
fn set_as_default_for_extension<P: AsRef<Path>>(
&self,
extension: P
) -> Result<(), Error>
[src]
&self,
extension: P
) -> Result<(), Error>