Class RecentInfo
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public sealed class RecentInfo : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<RecentInfo>, IDisposable
- Inheritance
-
RecentInfo
- Implements
- Inherited Members
Constructors
RecentInfo(RecentInfoOwnedHandle)
public RecentInfo(RecentInfoOwnedHandle handle)
Parameters
handle
RecentInfoOwnedHandle
Properties
Handle
public RecentInfoOwnedHandle Handle { get; }
Property Value
Methods
CreateAppInfo(string?)
public AppInfo? CreateAppInfo(string? appName)
Parameters
appName
string
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(RecentInfo?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RecentInfo? other)
Parameters
other
RecentInfoAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Exists()
public bool Exists()
Returns
GetAdded()
public DateTime GetAdded()
Returns
GetAge()
public int GetAge()
Returns
GetApplications(out nuint)
public string[] GetApplications(out nuint length)
Parameters
length
nuint
Returns
- string[]
GetDescription()
public string GetDescription()
Returns
GetDisplayName()
public string GetDisplayName()
Returns
GetGType()
public static Type GetGType()
Returns
GetGicon()
public Icon? GetGicon()
Returns
GetGroups(out nuint)
public string[] GetGroups(out nuint length)
Parameters
length
nuint
Returns
- string[]
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMimeType()
public string GetMimeType()
Returns
GetModified()
public DateTime GetModified()
Returns
GetPrivateHint()
public bool GetPrivateHint()
Returns
GetShortName()
public string GetShortName()
Returns
GetUri()
public string GetUri()
Returns
GetUriDisplay()
public string? GetUriDisplay()
Returns
GetVisited()
public DateTime GetVisited()
Returns
HasApplication(string)
public bool HasApplication(string appName)
Parameters
appName
string
Returns
HasGroup(string)
public bool HasGroup(string groupName)
Parameters
groupName
string
Returns
IsLocal()
public bool IsLocal()
Returns
LastApplication()
public string LastApplication()
Returns
Match(RecentInfo)
public bool Match(RecentInfo infoB)
Parameters
infoB
RecentInfo
Returns
Ref()
public RecentInfo Ref()
Returns
Unref()
public void Unref()