ImageType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • there is no image displayed by the widget

    Declaration

    Swift

    static let empty: GtkImageType
  • the widget contains a GdkPixbuf

    Declaration

    Swift

    static let pixbuf: GtkImageType
  • the widget contains a stock item name

    Declaration

    Swift

    static let stock: GtkImageType
  • the widget contains a GtkIconSet

    Declaration

    Swift

    static let iconSet: GtkImageType
  • the widget contains a GdkPixbufAnimation

    Declaration

    Swift

    static let animation: GtkImageType
  • the widget contains a named icon. This image type was added in GTK+ 2.6

    Declaration

    Swift

    static let iconName: GtkImageType
  • the widget contains a GIcon. This image type was added in GTK+ 2.14

    Declaration

    Swift

    static let gicon: GtkImageType
  • the widget contains a cairo_surface_t. This image type was added in GTK+ 3.10

    Declaration

    Swift

    static let surface: GtkImageType