[][src]Trait gtk::prelude::AppChooserExt

pub trait AppChooserExt: 'static {
    fn get_app_info(&self) -> Option<AppInfo>;
fn get_content_type(&self) -> Option<String>;
fn refresh(&self); }

Trait containing all AppChooser methods.

Implementors

AppChooserButton, AppChooserDialog, AppChooserWidget, AppChooser

Required methods

fn get_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 gobject::ObjectExt::unref

fn get_content_type(&self) -> Option<String>

Returns the current value of the AppChooser:content-type property.

Returns

the content type of self. Free with g_free

fn refresh(&self)

Reloads the list of applications.

Loading content...

Implementors

impl<O: IsA<AppChooser>> AppChooserExt for O[src]

Loading content...