Interface GobjectConstants


public interface GobjectConstants
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Mask containing the bits of #GParamSpec.flags which are reserved for GLib.
    static final int
    #GParamFlags value alias for %G_PARAM_STATIC_NAME | %G_PARAM_STATIC_NICK | %G_PARAM_STATIC_BLURB.
    static final int
    Minimum shift count to be used for user defined flags, to be stored in
    #GParamSpec.flags.
    static final int
    A mask for all #GSignalFlags bits.
    static final int
    A mask for all #GSignalMatchType bits.
    static final long
    A bit in the type number that's supposed to be left untouched.
    static final int
    An integer constant that represents the number of identifiers reserved
    for types that are assigned at compile-time.
    static final int
    Shift value used in converting numbers to type IDs.
    static final int
    First fundamental type number to create a new fundamental type id with
    G_TYPE_MAKE_FUNDAMENTAL() reserved for BSE.
    static final int
    Last fundamental type number reserved for BSE.
    static final int
    First fundamental type number to create a new fundamental type id with
    G_TYPE_MAKE_FUNDAMENTAL() reserved for GLib.
    static final int
    Last fundamental type number reserved for GLib.
    static final int
    First available fundamental type number to create new fundamental
    type id with G_TYPE_MAKE_FUNDAMENTAL().
    static final int
    For string values, indicates that the string contained is canonical and will
    exist for the duration of the process.
    static final int
    If passed to G_VALUE_COLLECT(), allocated data won't be copied
    but used verbatim.
  • Field Details

    • PARAM_MASK

      static final int PARAM_MASK
      Mask containing the bits of #GParamSpec.flags which are reserved for GLib.
      See Also:
    • PARAM_STATIC_STRINGS

      static final int PARAM_STATIC_STRINGS
      #GParamFlags value alias for %G_PARAM_STATIC_NAME | %G_PARAM_STATIC_NICK | %G_PARAM_STATIC_BLURB.

      It is recommended to use this for all properties by default, as it allows for
      internal performance improvements in GObject.

      It is very rare that a property would have a dynamically constructed name,
      nickname or blurb.

      Since 2.13.0
      See Also:
    • PARAM_USER_SHIFT

      static final int PARAM_USER_SHIFT
      Minimum shift count to be used for user defined flags, to be stored in
      #GParamSpec.flags. The maximum allowed is 10.
      See Also:
    • SIGNAL_FLAGS_MASK

      static final int SIGNAL_FLAGS_MASK
      A mask for all #GSignalFlags bits.
      See Also:
    • SIGNAL_MATCH_MASK

      static final int SIGNAL_MATCH_MASK
      A mask for all #GSignalMatchType bits.
      See Also:
    • TYPE_FLAG_RESERVED_ID_BIT

      static final long TYPE_FLAG_RESERVED_ID_BIT
      A bit in the type number that's supposed to be left untouched.
      See Also:
    • TYPE_FUNDAMENTAL_MAX

      static final int TYPE_FUNDAMENTAL_MAX
      An integer constant that represents the number of identifiers reserved
      for types that are assigned at compile-time.
      See Also:
    • TYPE_FUNDAMENTAL_SHIFT

      static final int TYPE_FUNDAMENTAL_SHIFT
      Shift value used in converting numbers to type IDs.
      See Also:
    • TYPE_RESERVED_BSE_FIRST

      static final int TYPE_RESERVED_BSE_FIRST
      First fundamental type number to create a new fundamental type id with
      G_TYPE_MAKE_FUNDAMENTAL() reserved for BSE.
      See Also:
    • TYPE_RESERVED_BSE_LAST

      static final int TYPE_RESERVED_BSE_LAST
      Last fundamental type number reserved for BSE.
      See Also:
    • TYPE_RESERVED_GLIB_FIRST

      static final int TYPE_RESERVED_GLIB_FIRST
      First fundamental type number to create a new fundamental type id with
      G_TYPE_MAKE_FUNDAMENTAL() reserved for GLib.
      See Also:
    • TYPE_RESERVED_GLIB_LAST

      static final int TYPE_RESERVED_GLIB_LAST
      Last fundamental type number reserved for GLib.
      See Also:
    • TYPE_RESERVED_USER_FIRST

      static final int TYPE_RESERVED_USER_FIRST
      First available fundamental type number to create new fundamental
      type id with G_TYPE_MAKE_FUNDAMENTAL().
      See Also:
    • VALUE_INTERNED_STRING

      static final int VALUE_INTERNED_STRING
      For string values, indicates that the string contained is canonical and will
      exist for the duration of the process. See g_value_set_interned_string().
      See Also:
    • VALUE_NOCOPY_CONTENTS

      static final int VALUE_NOCOPY_CONTENTS
      If passed to G_VALUE_COLLECT(), allocated data won't be copied
      but used verbatim. This does not affect ref-counted types like
      objects. This does not affect usage of g_value_copy(), the data will
      be copied if it is not ref-counted.
      See Also: