gdkColorParse: gdkColorParse
Description
Parses a textual specification of a color and fill in
the red
,
green
, and
blue
fields of a
GdkColor
structure. The color is not
allocated, you must call gdkColormapAllocColor
yourself.
The text string can be in any of the forms accepted
by xparsecolor
; these include
name for a color from rgb.txt, such as
DarkSlateGray
, or a hex specification
such as #3050b2
or #35b
.Value
A list containing the following elements:retval[integer] TRUE
if the parsing succeeded.color
[GdkColor
] the GdkColor
to fill in