Trait gtk::prelude::RecentChooserExt
[−]
[src]
pub trait RecentChooserExt { fn add_filter(&self, filter: &RecentFilter); fn get_current_item(&self) -> Option<RecentInfo>; fn get_current_uri(&self) -> Option<String>; 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<String>; 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<'a, P: Into<Option<&'a RecentFilter>>>(&self, filter: P); 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_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) -> u64; fn connect_selection_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }
Required Methods
fn add_filter(&self, filter: &RecentFilter)
fn get_current_item(&self) -> Option<RecentInfo>
fn get_current_uri(&self) -> Option<String>
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<String>
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<'a, P: Into<Option<&'a RecentFilter>>>(&self, filter: P)
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_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) -> u64
fn connect_selection_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<RecentChooser> + IsA<Object>> RecentChooserExt for O