Function

GObjectparam_spec_double

Declaration [src]

GParamSpec*
g_param_spec_double (
  const gchar* name,
  const gchar* nick,
  const gchar* blurb,
  gdouble minimum,
  gdouble maximum,
  gdouble default_value,
  GParamFlags flags
)

Description [src]

Creates a new GParamSpecDouble instance specifying a G_TYPE_DOUBLE 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 string 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 string 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 string is a NUL terminated UTF-8 string.
minimum gdouble
 

Minimum value for the property specified.

maximum gdouble
 

Maximum value for the property specified.

default_value gdouble
 

Default value for the property specified.

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.