Trait RecentChooserExt

Source
pub trait RecentChooserExt: 'static {
Show 42 methods // Required methods fn add_filter(&self, filter: &RecentFilter); fn get_current_item(&self) -> Option<RecentInfo>; fn get_current_uri(&self) -> Option<GString>; fn get_filter(&self) -> Option<RecentFilter>; fn get_items(&self) -> Vec<RecentInfo>; fn get_limit(&self) -> i32; fn get_local_only(&self) -> bool; fn get_select_multiple(&self) -> bool; fn get_show_icons(&self) -> bool; fn get_show_not_found(&self) -> bool; fn get_show_private(&self) -> bool; fn get_show_tips(&self) -> bool; fn get_sort_type(&self) -> RecentSortType; fn get_uris(&self) -> Vec<GString>; fn list_filters(&self) -> Vec<RecentFilter>; fn remove_filter(&self, filter: &RecentFilter); fn select_all(&self); fn select_uri(&self, uri: &str) -> Result<(), Error>; fn set_current_uri(&self, uri: &str) -> Result<(), Error>; fn set_filter(&self, filter: Option<&RecentFilter>); fn set_limit(&self, limit: i32); fn set_local_only(&self, local_only: bool); fn set_select_multiple(&self, select_multiple: bool); fn set_show_icons(&self, show_icons: bool); fn set_show_not_found(&self, show_not_found: bool); fn set_show_private(&self, show_private: bool); fn set_show_tips(&self, show_tips: bool); fn set_sort_func<P: Fn(&RecentInfo, &RecentInfo) -> i32 + 'static>( &self, sort_func: P, ); fn set_sort_type(&self, sort_type: RecentSortType); fn unselect_all(&self); fn unselect_uri(&self, uri: &str); fn connect_item_activated<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_selection_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_filter_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_limit_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_local_only_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_select_multiple_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_icons_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_not_found_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_private_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_tips_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_sort_type_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn add_filter(&self, filter: &RecentFilter)

Source

fn get_current_item(&self) -> Option<RecentInfo>

Source

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

Source

fn get_filter(&self) -> Option<RecentFilter>

Source

fn get_items(&self) -> Vec<RecentInfo>

Source

fn get_limit(&self) -> i32

Source

fn get_local_only(&self) -> bool

Source

fn get_select_multiple(&self) -> bool

Source

fn get_show_icons(&self) -> bool

Source

fn get_show_not_found(&self) -> bool

Source

fn get_show_private(&self) -> bool

Source

fn get_show_tips(&self) -> bool

Source

fn get_sort_type(&self) -> RecentSortType

Source

fn get_uris(&self) -> Vec<GString>

Source

fn list_filters(&self) -> Vec<RecentFilter>

Source

fn remove_filter(&self, filter: &RecentFilter)

Source

fn select_all(&self)

Source

fn select_uri(&self, uri: &str) -> Result<(), Error>

Source

fn set_current_uri(&self, uri: &str) -> Result<(), Error>

Source

fn set_filter(&self, filter: Option<&RecentFilter>)

Source

fn set_limit(&self, limit: i32)

Source

fn set_local_only(&self, local_only: bool)

Source

fn set_select_multiple(&self, select_multiple: bool)

Source

fn set_show_icons(&self, show_icons: bool)

Source

fn set_show_not_found(&self, show_not_found: bool)

Source

fn set_show_private(&self, show_private: bool)

Source

fn set_show_tips(&self, show_tips: bool)

Source

fn set_sort_func<P: Fn(&RecentInfo, &RecentInfo) -> i32 + 'static>( &self, sort_func: P, )

Source

fn set_sort_type(&self, sort_type: RecentSortType)

Source

fn unselect_all(&self)

Source

fn unselect_uri(&self, uri: &str)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_property_sort_type_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§