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.

  • ptr

    Untyped pointer to the underlying GtkRecentFilterInfo instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed 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)

RecentFilterInfo Record: RecentFilterInfoProtocol extension (methods and fields)

  • contains Extension method

    GtkRecentFilterFlags to indicate which fields are set.

    Declaration

    Swift

    @inlinable
    var contains: RecentFilterFlags { get set }
  • uri Extension method

    The URI of the file being tested.

    Declaration

    Swift

    @inlinable
    var uri: UnsafePointer<gchar>! { get set }
  • displayName Extension method

    The string that will be used to display the file in the recent chooser.

    Declaration

    Swift

    @inlinable
    var displayName: UnsafePointer<gchar>! { get set }
  • mimeType Extension method

    MIME type of the file.

    Declaration

    Swift

    @inlinable
    var mimeType: UnsafePointer<gchar>! { get set }
  • applications Extension method

    The list of applications that have registered the file.

    Declaration

    Swift

    @inlinable
    var applications: UnsafeMutablePointer<UnsafePointer<gchar>?>! { get set }
  • groups Extension method

    The groups to which the file belongs to.

    Declaration

    Swift

    @inlinable
    var groups: UnsafeMutablePointer<UnsafePointer<gchar>?>! { get set }
  • age Extension method

    The number of days elapsed since the file has been registered.

    Declaration

    Swift

    @inlinable
    var age: gint { get set }