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
GtkRecentFilterInfo
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GtkRecentFilterInfo
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkRecentFilterInfo
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkRecentFilterInfo>! { get }
-
Required Initialiser for types conforming to
RecentFilterInfoProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
contains
Extension methodGtkRecentFilterFlags
to indicate which fields are set.Declaration
Swift
@inlinable var contains: RecentFilterFlags { get set }
-
uri
Extension methodThe URI of the file being tested.
Declaration
Swift
@inlinable var uri: UnsafePointer<gchar>! { get set }
-
displayName
Extension methodThe string that will be used to display the file in the recent chooser.
Declaration
Swift
@inlinable var displayName: UnsafePointer<gchar>! { get set }
-
mimeType
Extension methodMIME type of the file.
Declaration
Swift
@inlinable var mimeType: UnsafePointer<gchar>! { get set }
-
applications
Extension methodThe list of applications that have registered the file.
Declaration
Swift
@inlinable var applications: UnsafeMutablePointer<UnsafePointer<gchar>?>! { get set }
-
groups
Extension methodThe groups to which the file belongs to.
Declaration
Swift
@inlinable var groups: UnsafeMutablePointer<UnsafePointer<gchar>?>! { get set }
-
age
Extension methodThe number of days elapsed since the file has been registered.
Declaration
Swift
@inlinable var age: gint { get set }