Method
VtePropertiesget_property_rgba
unstable since: 0.82
Declaration [src]
gboolean
vte_properties_get_property_rgba (
const VteProperties* properties,
const char* prop,
GdkRGBA* color
)
Description [src]
Stores the value of a VTE_PROPERTY_RGB
or VTE_PROPERTY_RGBA
property in color
and
returns TRUE
if the property is set, or stores rgb(0,0,0) or rgba(0,0,0,1) in color
and returns FALSE
if the property is unset.
Available since: 0.82
Parameters
prop
-
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. color
-
Type:
GdkRGBA
A
GdkRGBA
to fill in.The argument will be set by the function. The argument can be NULL
.The returned data is owned by the instance.