Types.newTypes

Warning gtk_type_new is deprecated and should not be used in newly-written code. Creates a new object of a given type, and return a pointer to it. Returns NULL if you give it an invalid type. It allocates the object out of the type's memory chunk if there is a memory chunk. The object has all the proper initializers called.

class Types
static
void*
newTypes

Parameters

type GtkType

a GtkType.

Return Value

Type: void*

pointer to a GtkTypeObject.

Meta