Struct gtk::RecentManager
[−]
pub struct RecentManager(_, _);
Methods
impl RecentManager
[src]
fn new() -> RecentManager
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, T: Into<Option<&'a str>>>(&self,
uri: &str,
new_uri: T)
-> Result<(), Error>
uri: &str,
new_uri: T)
-> 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 set_property_filename(&self, filename: Option<&str>)
fn get_property_size(&self) -> i32
fn get_default() -> Option<RecentManager>
fn connect_changed<F: Fn(&RecentManager) + 'static>(&self, f: F) -> u64
Trait Implementations
impl Clone for RecentManager
fn clone(&self) -> RecentManager
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for RecentManager
impl Hash for RecentManager
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for RecentManager
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for RecentManager
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.