PrintCapabilities

public struct PrintCapabilities : OptionSet

Specifies which features the print dialog should offer.

If neither GTK_PRINT_CAPABILITY_GENERATE_PDF nor GTK_PRINT_CAPABILITY_GENERATE_PS is specified, GTK assumes that all formats are supported.

  • 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 }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GtkPrintCapabilities enum value

    Declaration

    Swift

    @inlinable
    public var value: GtkPrintCapabilities { 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 GtkPrintCapabilities enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GtkPrintCapabilities)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Print dialog will offer printing even/odd pages.

    Declaration

    Swift

    public static let pageSet: PrintCapabilities
  • Print dialog will allow to print multiple copies.

    Declaration

    Swift

    public static let copies: PrintCapabilities
  • Print dialog will allow to collate multiple copies.

    Declaration

    Swift

    public static let collate: PrintCapabilities
  • Print dialog will allow to print pages in reverse order.

    Declaration

    Swift

    public static let reverse: PrintCapabilities
  • Print dialog will allow to scale the output.

    Declaration

    Swift

    public static let scale: PrintCapabilities
  • The program will send the document to the printer in PDF format

    Declaration

    Swift

    public static let generatePdf: PrintCapabilities
  • The program will send the document to the printer in Postscript format

    Declaration

    Swift

    public static let generatePs: PrintCapabilities
  • Print dialog will offer a preview

    Declaration

    Swift

    public static let preview: PrintCapabilities
  • Print dialog will offer printing multiple pages per sheet

    Declaration

    Swift

    public static let numberUp: PrintCapabilities
  • Print dialog will allow to rearrange pages when printing multiple pages per sheet

    Declaration

    Swift

    public static let numberUpLayout: PrintCapabilities