[][src]Trait gtk::RecentChooserExt

pub trait RecentChooserExt: 'static {
    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

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

Loading content...

Implementors

impl<O: IsA<RecentChooser>> RecentChooserExt for O[src]

Loading content...