get_termprop_value


Description:

[ Version ( since = "0.78" ) ]
public bool get_termprop_value (string prop, out Value gvalue)

Returns true with the value of prop stored in value (if not null) if, the termprop has a value, or false if prop is unset, or prop is not a registered property; in that case value will not be set.

The value type returned depends on the termprop type: * A vte_property_valueless termprop stores no value, and returns false from this function. * A vte_property_bool termprop stores a g_type_boolean value. * A vte_property_int termprop stores a g_type_int64 value. * A vte_property_uint termprop stores a g_type_uint64 value. * A vte_property_double termprop stores a g_type_double value. * A vte_property_rgb termprop stores a boxed RGBA value with alpha 1.0 on gtk3, and nothing on gtk4. * A vte_property_rgba termprop stores a boxed RGBA value on gtk3, and nothing on gtk4. * A vte_property_string termprop stores a g_type_string value. * A vte_property_data termprop stores a boxed Bytes value. * A vte_property_uuid termprop stores a boxed Uuid value. * A vte_property_uri termprop stores a boxed Uri value. * A vte_property_image termprop stores a boxed XlibSurface value on gtk3, and a boxed Texture on gtk4

Parameters:

this

a Terminal

prop

a termprop name

gvalue

a Value to be filled in, or null

Returns:

true iff the property has a value, with gvalue containig the property's value.