Method

VtePropertiesdup_property_string_by_id

unstable since: 0.82

Declaration [src]

char*
vte_properties_dup_property_string_by_id (
  const VteProperties* properties,
  int prop,
  size_t* size
)

Description [src]

Like vte_properties_dup_property_string() except that it takes the property by ID. See that function for more information.

Available since: 0.82

Parameters

prop

Type: int

A property ID.

size

Type: size_t*

A location to store the string length, or NULL.

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

Return value

Type: char*

The property’s value, 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.
The value is a NUL terminated UTF-8 string.