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
GtkFileFilterInfoinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GtkFileFilterInfoinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkFileFilterInfoinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkFileFilterInfo>! { get } -
Required Initialiser for types conforming to
FileFilterInfoProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
containsExtension methodFlags indicating which of the following fields need are filled
Declaration
Swift
@inlinable var contains: FileFilterFlags { get set } -
filenameExtension methodthe filename of the file being tested
Declaration
Swift
@inlinable var filename: UnsafePointer<gchar>! { get set } -
uriExtension methodthe URI for 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 file chooser
Declaration
Swift
@inlinable var displayName: UnsafePointer<gchar>! { get set } -
mimeTypeExtension methodthe mime type of the file
Declaration
Swift
@inlinable var mimeType: UnsafePointer<gchar>! { get set }
View on GitHub
Install in Dash
FileFilterInfoProtocol Protocol Reference