AnyFilterProtocol

public protocol AnyFilterProtocol : MultiFilterProtocol

GtkAnyFilter matches an item when at least one of its filters matches.

To add filters to a GtkAnyFilter, use [methodGtk.MultiFilter.append].

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

  • ptr

    Untyped pointer to the underlying GtkAnyFilter instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GtkAnyFilter instance.

    Default Implementation

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

    Declaration

    Swift

    var any_filter_ptr: UnsafeMutablePointer<GtkAnyFilter>! { get }
  • Required Initialiser for types conforming to AnyFilterProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)