PopoverConstraint

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Don’t constrain the popover position beyond what is imposed by the implementation

    Declaration

    Swift

    static let none: GtkPopoverConstraint
  • Constrain the popover to the boundaries of the window that it is attached to

    Declaration

    Swift

    static let window: GtkPopoverConstraint