Grx.color_get2
@accepts(guint32) @returns(Grx.Color) def color_get2(hcolor): # Python wrapper for grx_color_get2()
Gets a color in the color table based on hcolor.
A new color is allocated in the color table if needed.
The color should be released with Grx.color_put when it is no longer used.
- hcolor
the color in 0xRRGGBB format.
- Returns