Function Macro

AtkDEFINE_TYPE_EXTENDED

Declaration [src]

#define ATK_DEFINE_TYPE_EXTENDED (
  TN,
  t_n,
  T_P,
  _f_,
  _C_
)

Description [src]

The most general convenience macro for ATK type implementations, on which ATK_DEFINE_TYPE(), etc are based.

Available since:1.22

Parameters

TN -
 

The name of the new type, in Camel case.

t_n -
 

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

T_P -
 

The GType of the parent type.

_f_ -
 

GTypeFlags to pass to g_type_register_static()

_C_ -
 

Custom code that gets inserted in the _get_type() function.