Trait gtk::RecentManagerExt
[−]
[src]
pub trait RecentManagerExt { fn add_full(&self, uri: &str, recent_data: &RecentData) -> bool; fn add_item(&self, uri: &str) -> bool; fn get_items(&self) -> Vec<RecentInfo>; fn has_item(&self, uri: &str) -> bool; fn lookup_item(&self, uri: &str) -> Result<Option<RecentInfo>, Error>; fn move_item<'a, P: Into<Option<&'a str>>>(
&self,
uri: &str,
new_uri: P
) -> Result<(), Error>; fn purge_items(&self) -> Result<i32, Error>; fn remove_item(&self, uri: &str) -> Result<(), Error>; fn get_property_filename(&self) -> Option<String>; fn get_property_size(&self) -> i32; fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }
Required Methods
fn add_full(&self, uri: &str, recent_data: &RecentData) -> bool
fn add_item(&self, uri: &str) -> bool
fn get_items(&self) -> Vec<RecentInfo>
fn has_item(&self, uri: &str) -> bool
fn lookup_item(&self, uri: &str) -> Result<Option<RecentInfo>, Error>
fn move_item<'a, P: Into<Option<&'a str>>>(
&self,
uri: &str,
new_uri: P
) -> Result<(), Error>
&self,
uri: &str,
new_uri: P
) -> Result<(), Error>
fn purge_items(&self) -> Result<i32, Error>
fn remove_item(&self, uri: &str) -> Result<(), Error>
fn get_property_filename(&self) -> Option<String>
fn get_property_size(&self) -> i32
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<RecentManager> + IsA<Object>> RecentManagerExt for O