ObjectG.this

Creates a new instance of a #GObject subtype and sets its properties.

Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY) which are not explicitly specified are set to their default values.

More...

Parameters

objectType GType

the type id of the #GObject subtype to instantiate

parameters GParameter[]

an array of #GParameter

Return Value

a new instance of @object_type

Detailed Description

Deprecated: Use g_object_new_with_properties() instead. deprecated. See #GParameter for more information.

Throws

ConstructionException GTK+ fails to create the object.

Meta