Enumeration

GObjectTypeFlags

since: 2.0

Declaration

flags GObject.TypeFlags

Description

Bit masks used to check or determine characteristics of a type.

Available since: 2.0

Members

G_TYPE_FLAG_NONE

No special flags. Since: 2.74

  • Value: 0
  • Nickname: None
  • Available since: 2.0
G_TYPE_FLAG_ABSTRACT

Indicates an abstract type. No instances can be created for an abstract type.

  • Value: 16
  • Nickname: None
  • Available since: 2.0
G_TYPE_FLAG_VALUE_ABSTRACT

Indicates an abstract value type, i.e. a type that introduces a value table, but can’t be used for g_value_init()

  • Value: 32
  • Nickname: None
  • Available since: 2.0
G_TYPE_FLAG_FINAL

Indicates a final type. A final type is a non-derivable leaf node in a deep derivable type hierarchy tree. Since: 2.70

  • Value: 64
  • Nickname: None
  • Available since: 2.0
G_TYPE_FLAG_DEPRECATED

The type is deprecated and may be removed in a future version. A warning will be emitted if it is instantiated while running with G_ENABLE_DIAGNOSTIC=1. Since 2.76

  • Value: 128
  • Nickname: None
  • Available since: 2.0