Method

VteTerminalref_termprop_data_bytes

since: 0.78

Declaration [src]

GBytes*
vte_terminal_ref_termprop_data_bytes (
  VteTerminal* terminal,
  const char* prop
)

Description [src]

Returns the value of a VTE_PROPERTY_DATA termprop as a GBytes, or NULL if prop is unset, or prop is not a registered property.

Available since: 0.78

Parameters

prop

Type: const char*

A termprop 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.