Method

VtePropertiesRegistryquery

unstable since: 0.82

Declaration [src]

gboolean
vte_properties_registry_query (
  const VtePropertiesRegistry* registry,
  const char* name,
  const char** resolved_name,
  int* prop,
  VtePropertyType* type,
  VtePropertyFlags* flags
)

Description [src]

Gets the property type of the property. For properties installed by vte_install_property(), the name starts with “vte.ext.”.

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

Available since: 0.82

Parameters

name

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.
resolved_name

Type: const char**

A location to store the property’s name.

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

Type: int*

A location to store the property’s ID.

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

Type: VtePropertyType

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

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

Type: VtePropertyFlags

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

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

Return value

Type: gboolean

TRUE iff the property exists, and then prop, type and flags will be filled in.