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.
-
Untyped pointer to the underlying
GtkFileFilterInfo
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped 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)
-
contains
Extension methodFlags indicating which of the following fields need are filled
Declaration
Swift
@inlinable var contains: FileFilterFlags { get set }
-
filename
Extension methodthe filename of the file being tested
Declaration
Swift
@inlinable var filename: UnsafePointer<gchar>! { get set }
-
uri
Extension methodthe URI for 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 file chooser
Declaration
Swift
@inlinable var displayName: UnsafePointer<gchar>! { get set }
-
mimeType
Extension methodthe mime type of the file
Declaration
Swift
@inlinable var mimeType: UnsafePointer<gchar>! { get set }