Struct gtk::RecentInfo
source · #[repr(transparent)]pub struct RecentInfo { /* private fields */ }
Implementations§
source§impl RecentInfo
impl RecentInfo
sourcepub fn as_ptr(&self) -> *mut GtkRecentInfo
pub fn as_ptr(&self) -> *mut GtkRecentInfo
Return the inner pointer to the underlying C value.
source§impl RecentInfo
impl RecentInfo
pub fn create_app_info(
&self,
app_name: Option<&str>
) -> Result<Option<AppInfo>, Error>
pub fn exists(&self) -> bool
pub fn added(&self) -> c_long
pub fn age(&self) -> i32
pub fn application_info(&self, app_name: &str) -> Option<(GString, u32, c_long)>
pub fn applications(&self) -> Vec<GString>
pub fn description(&self) -> Option<GString>
pub fn display_name(&self) -> Option<GString>
pub fn gicon(&self) -> Option<Icon>
pub fn groups(&self) -> Vec<GString>
pub fn icon(&self, size: i32) -> Option<Pixbuf>
pub fn mime_type(&self) -> Option<GString>
pub fn modified(&self) -> c_long
pub fn is_private_hint(&self) -> bool
pub fn short_name(&self) -> Option<GString>
pub fn uri(&self) -> Option<GString>
pub fn uri_display(&self) -> Option<GString>
pub fn visited(&self) -> c_long
pub fn has_application(&self, app_name: &str) -> bool
pub fn has_group(&self, group_name: &str) -> bool
pub fn is_local(&self) -> bool
pub fn last_application(&self) -> Option<GString>
pub fn match_(&self, info_b: &RecentInfo) -> bool
Trait Implementations§
source§impl Clone for RecentInfo
impl Clone for RecentInfo
source§impl Debug for RecentInfo
impl Debug for RecentInfo
source§impl Hash for RecentInfo
impl Hash for RecentInfo
source§impl Ord for RecentInfo
impl Ord for RecentInfo
source§fn cmp(&self, other: &RecentInfo) -> Ordering
fn cmp(&self, other: &RecentInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RecentInfo> for RecentInfo
impl PartialEq<RecentInfo> for RecentInfo
source§fn eq(&self, other: &RecentInfo) -> bool
fn eq(&self, other: &RecentInfo) -> bool
source§impl PartialOrd<RecentInfo> for RecentInfo
impl PartialOrd<RecentInfo> for RecentInfo
source§fn partial_cmp(&self, other: &RecentInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &RecentInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for RecentInfo
impl StaticType for RecentInfo
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for RecentInfo
impl StructuralEq for RecentInfo
impl StructuralPartialEq for RecentInfo
Auto Trait Implementations§
impl RefUnwindSafe for RecentInfo
impl !Send for RecentInfo
impl !Sync for RecentInfo
impl Unpin for RecentInfo
impl UnwindSafe for RecentInfo
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.