FileFilterInfoProtocol

public protocol FileFilterInfoProtocol

A GtkFileFilterInfo-struct is used to pass information about the tested file to gtk_file_filter_filter().

The FileFilterInfoProtocol protocol exposes the methods and properties of an underlying GtkFileFilterInfo 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 FileFilterInfo. Alternatively, use FileFilterInfoRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GtkFileFilterInfo instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GtkFileFilterInfo instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkFileFilterInfo instance.

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GtkFileFilterInfo>! { get }
  • Required Initialiser for types conforming to FileFilterInfoProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

FileFilterInfo Record: FileFilterInfoProtocol extension (methods and fields)

  • contains Extension method

    Flags indicating which of the following fields need are filled

    Declaration

    Swift

    @inlinable
    var contains: FileFilterFlags { get set }
  • filename Extension method

    the filename of the file being tested

    Declaration

    Swift

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

    the URI for 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 file chooser

    Declaration

    Swift

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

    the mime type of the file

    Declaration

    Swift

    @inlinable
    var mimeType: UnsafePointer<gchar>! { get set }