MenuDirectionType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • To the parent menu shell

    Declaration

    Swift

    static let parent: GtkMenuDirectionType
  • To the submenu, if any, associated with the item

    Declaration

    Swift

    static let child: GtkMenuDirectionType
  • To the next menu item

    Declaration

    Swift

    static let next: GtkMenuDirectionType
  • To the previous menu item

    Declaration

    Swift

    static let prev: GtkMenuDirectionType