Trait AppChooserWidgetExt

Source
pub trait AppChooserWidgetExt: 'static {
Show 21 methods // Required methods fn get_default_text(&self) -> Option<GString>; fn get_show_all(&self) -> bool; fn get_show_default(&self) -> bool; fn get_show_fallback(&self) -> bool; fn get_show_other(&self) -> bool; fn get_show_recommended(&self) -> bool; fn set_default_text(&self, text: &str); fn set_show_all(&self, setting: bool); fn set_show_default(&self, setting: bool); fn set_show_fallback(&self, setting: bool); fn set_show_other(&self, setting: bool); fn set_show_recommended(&self, setting: bool); fn connect_application_activated<F: Fn(&Self, &AppInfo) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_application_selected<F: Fn(&Self, &AppInfo) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_populate_popup<F: Fn(&Self, &Menu, &AppInfo) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_default_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_all_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_default_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_fallback_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_other_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_recommended_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_default_text(&self) -> Option<GString>

Source

fn get_show_all(&self) -> bool

Source

fn get_show_default(&self) -> bool

Source

fn get_show_fallback(&self) -> bool

Source

fn get_show_other(&self) -> bool

Source

fn set_default_text(&self, text: &str)

Source

fn set_show_all(&self, setting: bool)

Source

fn set_show_default(&self, setting: bool)

Source

fn set_show_fallback(&self, setting: bool)

Source

fn set_show_other(&self, setting: bool)

Source

fn connect_application_activated<F: Fn(&Self, &AppInfo) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_application_selected<F: Fn(&Self, &AppInfo) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_populate_popup<F: Fn(&Self, &Menu, &AppInfo) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_default_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_show_all_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_show_default_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_show_fallback_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_show_other_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§