Function

Vtequery_termprop_by_id

since: 0.78

Declaration [src]

gboolean
vte_query_termprop_by_id (
  int prop,
  const char** name,
  VtePropertyType* type,
  VtePropertyFlags* flags
)

Description [src]

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

For an alias termprop (see vte_install_termprop_alias()), resolved_name will be name of the alias’ target termprop; otherwise it will be name.

Available since: 0.78

Parameters

prop

Type: int

A termprop ID.

name

Type: const char**

A location to store the termprop’s name.

The argument will be set by the function.
The argument can be NULL.
The returned data is owned by the function.
The value is a NUL terminated UTF-8 string.
type

Type: VtePropertyType

A location to store the termprop’s type as a VtePropertyType.

The argument will be set by the function.
The argument can be NULL.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.
flags

Type: VtePropertyFlags

A location to store the termprop’s flags as a VtePropertyFlags.

The argument will be set by the function.
The argument can be NULL.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: gboolean

TRUE iff the termprop exists, and then name, type and flags will be filled in.