Trait gtk4::prelude::AppChooserExt [−][src]
pub trait AppChooserExt: 'static {
fn app_info(&self) -> Option<AppInfo>;
fn content_type(&self) -> Option<GString>;
fn refresh(&self);
}
Expand description
Trait containing all AppChooser
methods.
Implementors
AppChooserButton
, AppChooserDialog
, AppChooserWidget
, AppChooser
Required methods
Returns the currently selected application.
Returns
a GAppInfo
for the
currently selected application
fn content_type(&self) -> Option<GString>
fn content_type(&self) -> Option<GString>
Returns the content type for which the AppChooser
shows applications.
Returns
the content type of self
. Free with g_free()