Method

VtePropertiesget_property_double

unstable since: 0.82

Declaration [src]

gboolean
vte_properties_get_property_double (
  const VteProperties* properties,
  const char* prop,
  double* valuep
)

Description [src]

For a VTE_PROPERTY_DOUBLE property, sets value to props value, which is finite; or to 0.0 if prop is unset, or prop is not a registered property.

Available since: 0.82

Parameters

prop

Type: const char*

A property name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
valuep

Type: double*

A location to store the value, or NULL.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: gboolean

TRUE iff the property is set.