Global Variables

The following global variables are available globally.

  • Mask containing the bits of GParamSpec.flags which are reserved for GLib.

    Declaration

    Swift

    public let PARAM_MASK: Int32
  • GParamFlags value alias for G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB.

    Since 2.13.0

    Declaration

    Swift

    public let PARAM_STATIC_STRINGS: CInt
  • Minimum shift count to be used for user defined flags, to be stored in GParamSpec.flags. The maximum allowed is 10.

    Declaration

    Swift

    public let PARAM_USER_SHIFT: Int32
  • A mask for all GSignalFlags bits.

    Declaration

    Swift

    public let SIGNAL_FLAGS_MASK: Int32
  • A mask for all GSignalMatchType bits.

    Declaration

    Swift

    public let SIGNAL_MATCH_MASK: Int32
  • A bit in the type number that’s supposed to be left untouched.

    Declaration

    Swift

    public let TYPE_FLAG_RESERVED_ID_BIT: GType
  • An integer constant that represents the number of identifiers reserved for types that are assigned at compile-time.

    Declaration

    Swift

    public let TYPE_FUNDAMENTAL_MAX: CInt
  • Shift value used in converting numbers to type IDs.

    Declaration

    Swift

    public let TYPE_FUNDAMENTAL_SHIFT: Int32
  • First fundamental type number to create a new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL() reserved for BSE.

    Declaration

    Swift

    public let TYPE_RESERVED_BSE_FIRST: Int32
  • Last fundamental type number reserved for BSE.

    Declaration

    Swift

    public let TYPE_RESERVED_BSE_LAST: Int32
  • First fundamental type number to create a new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL() reserved for GLib.

    Declaration

    Swift

    public let TYPE_RESERVED_GLIB_FIRST: Int32
  • Last fundamental type number reserved for GLib.

    Declaration

    Swift

    public let TYPE_RESERVED_GLIB_LAST: Int32
  • First available fundamental type number to create new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL().

    Declaration

    Swift

    public let TYPE_RESERVED_USER_FIRST: Int32
  • If passed to G_VALUE_COLLECT(), allocated data won’t be copied but used verbatim. This does not affect ref-counted types like objects.

    Declaration

    Swift

    public let VALUE_NOCOPY_CONTENTS: Int32