Method

VtePropertiesref_property_data_bytes

unstable since: 0.82

Declaration [src]

GBytes*
vte_properties_ref_property_data_bytes (
  const VteProperties* properties,
  const char* prop
)

Description [src]

Returns the value of a VTE_PROPERTY_DATA property as a GBytes, or NULL 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.

Return value

Type: GBytes

The property’s value as a GBytes, or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.