Trait gtk::prelude::AppChooserExt [−][src]
pub trait AppChooserExt: 'static { 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
Required methods
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()
fn content_type(&self) -> Option<String>
fn content_type(&self) -> Option<String>
Returns the current value of the property::AppChooser::content-type
property.
Returns
the content type of self
. Free with g_free()