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