Method
VtePropertiesRegistryquery_by_id
unstable since: 0.82
Declaration [src]
gboolean
vte_properties_registry_query_by_id (
const VtePropertiesRegistry* registry,
int prop,
const char** name,
VtePropertyType* type,
VtePropertyFlags* flags
)
Description [src]
Like vte_properties_registry_query_by_name() except that it takes the property by ID.
See that function for more information.
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
prop-
Type:
intA property ID for the registry.
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. type-
Type:
VtePropertyTypeA 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:
VtePropertyFlagsA 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.