PageRangeProtocol

public protocol PageRangeProtocol

A range of pages to print.

See also [methodGtk.PrintSettings.set_page_ranges].

The PageRangeProtocol protocol exposes the methods and properties of an underlying GtkPageRange 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 PageRange. Alternatively, use PageRangeRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GtkPageRange instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed pointer to the underlying GtkPageRange instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkPageRange instance.

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GtkPageRange>! { get }
  • Required Initialiser for types conforming to PageRangeProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

PageRange Record: PageRangeProtocol extension (methods and fields)

  • start Extension method

    start of page range.

    Declaration

    Swift

    @inlinable
    var start: gint { get set }
  • end Extension method

    end of page range.

    Declaration

    Swift

    @inlinable
    var end: gint { get set }