pub trait AppChooserExt: 'static {
    // Required methods
    fn app_info(&self) -> Option<AppInfo>;
    fn content_type(&self) -> GString;
    fn refresh(&self);
}
Expand description

Required Methods§

source

fn app_info(&self) -> Option<AppInfo>

Returns the currently selected application.

Deprecated since 4.10

This widget will be removed in GTK 5

Returns

a GAppInfo for the currently selected application

source

fn content_type(&self) -> GString

Returns the content type for which the AppChooser shows applications.

Deprecated since 4.10

This widget will be removed in GTK 5

Returns

the content type of @self. Free with g_free()

source

fn refresh(&self)

Reloads the list of applications.

Deprecated since 4.10

This widget will be removed in GTK 5

Implementors§