Trait gtk::prelude::RecentChooserExt
source · [−]pub trait RecentChooserExt: 'static {
Show 42 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_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 list_filters(&self) -> Vec<RecentFilter>
source
fn remove_filter(&self, filter: &RecentFilter)
source
fn select_all(&self)
source
fn set_filter(&self, filter: Option<&RecentFilter>)
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)
sourcefn set_sort_func<P: Fn(&RecentInfo, &RecentInfo) -> i32 + 'static>(
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
sourcefn connect_selection_changed<F: Fn(&Self) + 'static>(
fn connect_selection_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_filter_notify<F: Fn(&Self) + 'static>(
fn connect_property_filter_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_limit_notify<F: Fn(&Self) + 'static>(
fn connect_property_limit_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_local_only_notify<F: Fn(&Self) + 'static>(
fn connect_property_local_only_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_select_multiple_notify<F: Fn(&Self) + 'static>(
fn connect_property_select_multiple_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_show_icons_notify<F: Fn(&Self) + 'static>(
fn connect_property_show_icons_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_show_not_found_notify<F: Fn(&Self) + 'static>(
fn connect_property_show_not_found_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_show_private_notify<F: Fn(&Self) + 'static>(
fn connect_property_show_private_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_show_tips_notify<F: Fn(&Self) + 'static>(
fn connect_property_show_tips_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_sort_type_notify<F: Fn(&Self) + 'static>(