Function

GObjectparam_spec_override

Declaration [src]

GParamSpec*
g_param_spec_override (
  const gchar* name,
  GParamSpec* overridden
)

Description [src]

Creates a new property of type GParamSpecOverride. This is used to direct operations to another paramspec, and will not be directly useful unless you are implementing a new base type similar to GObject.

Available since:2.4

Parameters

name const gchar*
 

The name of the property.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
overridden GParamSpec
 

The property that is being overridden.

 The data is owned by the caller of the function.

Return value

Returns: GParamSpec
 

The newly created GParamSpec.

 The data is owned by the called function.