Cd.ColorSwatch – colord Reference Manual
ColorSwatch
Object Hierarchy:
Cd.ColorSwatch
Cd.ColorSwatch
Cd.ColorSwatch
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"cd_color_swatch_get_type ()"
) ]
[
Compact
]
public
class
ColorSwatch
Namespace:
Cd
Package:
colord
Content:
Creation methods:
public
ColorSwatch
()
Allocates a color value.
Methods:
public
ColorSwatch
dup
()
public
void
free
()
Deallocates a color swatch.
public
unowned
string
get_name
()
public
unowned
ColorLab
get_value
()
public
void
set_name
(
string
name)
Initialises a swatch name.
public
void
set_value
(
ColorLab
value)
Initialises a swatch value.
2022 vala-language.org