Method
VtePropertiesget_property_flags
unstable since: 0.82
Declaration [src]
gboolean
vte_properties_get_property_flags (
const VteProperties* properties,
const char* prop,
GType gtype,
gboolean ignore_unknown_flags,
uint64_t* valuep
)
Description [src]
For a VTE_PROPERTY_STRING
property, sets value
to prop
‘s value,
parsed as a ‘|’-separated list of values of the flags type gtype
,
or to 0 if prop
is unset, or if its value could not be parsed as
a list of values of the flags type, if prop
is not a registered
property. If ignore_unknown_flags
is TRUE
, flags that are unknown are
ignored instead of causing this function to return FALSE
.
Available since: 0.82
Parameters
prop
-
Type:
const char*
A property name of a
VTE_PROPERTY_STRING
property.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. gtype
-
Type:
GType
A
GType
of a flags type. ignore_unknown_flags
-
Type:
gboolean
Whether to ignore unknown flags.
valuep
-
Type:
uint64_t*
A location to store the value, or
NULL
.The argument will be set by the function. The argument can be NULL
.