Function
GObjectparam_spec_boxed
Declaration
GParamSpec*
g_param_spec_boxed (
const gchar* name,
const gchar* nick,
const gchar* blurb,
GType boxed_type,
GParamFlags flags
)
Description
Creates a new GParamSpecBoxed
instance specifying a G_TYPE_BOXED
derived property.
See g_param_spec_internal()
for details on property names.
Parameters
name |
const gchar* |
Canonical name of the property specified. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
nick |
const gchar* |
Nick name for the property specified. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
blurb |
const gchar* |
Description of the property specified. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
boxed_type |
GType |
|
|
flags |
GParamFlags |
Flags for the property specified. |
Return value
Returns: | GParamSpec |
A newly created parameter specification. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |