pub trait AppChooserExt:
IsA<AppChooser>
+ Sealed
+ 'static {
// Provided methods
fn app_info(&self) -> Option<AppInfo> { ... }
fn content_type(&self) -> Option<String> { ... }
fn refresh(&self) { ... }
}Expand description
Trait containing all AppChooser methods.
§Implementors
AppChooserButton, AppChooserDialog, AppChooserWidget, AppChooser
Provided Methods§
Sourcefn app_info(&self) -> Option<AppInfo>
fn app_info(&self) -> Option<AppInfo>
Returns the currently selected application.
§Returns
a gio::AppInfo for the currently selected
application, or None if none is selected. Free with g_object_unref()
Sourcefn content_type(&self) -> Option<String>
fn content_type(&self) -> Option<String>
Returns the current value of the content-type property.
§Returns
the content type of self. Free with g_free()
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".