FileFilterFlags
public struct FileFilterFlags : OptionSet
These flags indicate what parts of a GtkFileFilterInfo
struct
are filled or need to be filled.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32
-
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set }
-
The equivalent raw
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GtkFileFilterFlags
enum valueDeclaration
Swift
@inlinable public var value: GtkFileFilterFlags { get set }
-
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32)
-
Creates a new instance with the specified
GtkFileFilterFlags
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkFileFilterFlags)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
the filename of the file being tested
Declaration
Swift
public static let filename: FileFilterFlags
-
the URI for the file being tested
Declaration
Swift
public static let uri: FileFilterFlags
-
the string that will be used to display the file in the file chooser
Declaration
Swift
public static let displayName: FileFilterFlags
-
the mime type of the file
Declaration
Swift
public static let mimeType: FileFilterFlags