FileChooserAction

public extension FileChooserAction
  • Cast constructor, converting any binary integer to a FileChooserAction.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Indicates open mode. The file chooser will only let the user pick an existing file.

    Declaration

    Swift

    static let open: GtkFileChooserAction
  • Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename.

    Declaration

    Swift

    static let save: GtkFileChooserAction
  • Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder.

    Declaration

    Swift

    static let selectFolder: GtkFileChooserAction
  • Indicates a mode for creating a new folder. The file chooser will let the user name an existing or new folder.

    Declaration

    Swift

    static let createFolder: GtkFileChooserAction