Function Macro

GObjectDEFINE_ABSTRACT_TYPE

since: 2.4

Declaration

#define G_DEFINE_ABSTRACT_TYPE (
  TN,
  t_n,
  T_P
)

Description

A convenience macro for type implementations.

Similar to G_DEFINE_TYPE(), but defines an abstract type. See G_DEFINE_TYPE_EXTENDED() for an example.

Available since: 2.4

This function is not directly available to language bindings.

Parameters

TN

Type: -

The name of the new type, in Camel case.

t_n

Type: -

The name of the new type, in lowercase, with words separated by _.

T_P

Type: -

The GType of the parent type.