RecentFilterInfoProtocol
public protocol RecentFilterInfoProtocol
A GtkRecentFilterInfo struct is used
to pass information about the tested file to gtk_recent_filter_filter().
The RecentFilterInfoProtocol protocol exposes the methods and properties of an underlying GtkRecentFilterInfo instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see RecentFilterInfo.
Alternatively, use RecentFilterInfoRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkRecentFilterInfoinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GtkRecentFilterInfoinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkRecentFilterInfoinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkRecentFilterInfo>! { get } -
Required Initialiser for types conforming to
RecentFilterInfoProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
containsExtension methodGtkRecentFilterFlagsto indicate which fields are set.Declaration
Swift
@inlinable var contains: RecentFilterFlags { get set } -
uriExtension methodThe URI of the file being tested.
Declaration
Swift
@inlinable var uri: UnsafePointer<gchar>! { get set } -
displayNameExtension methodThe string that will be used to display the file in the recent chooser.
Declaration
Swift
@inlinable var displayName: UnsafePointer<gchar>! { get set } -
mimeTypeExtension methodMIME type of the file.
Declaration
Swift
@inlinable var mimeType: UnsafePointer<gchar>! { get set } -
applicationsExtension methodThe list of applications that have registered the file.
Declaration
Swift
@inlinable var applications: UnsafeMutablePointer<UnsafePointer<gchar>?>! { get set } -
groupsExtension methodThe groups to which the file belongs to.
Declaration
Swift
@inlinable var groups: UnsafeMutablePointer<UnsafePointer<gchar>?>! { get set } -
ageExtension methodThe number of days elapsed since the file has been registered.
Declaration
Swift
@inlinable var age: gint { get set }
View on GitHub
Install in Dash
RecentFilterInfoProtocol Protocol Reference