get-background-color in GTK+-2.0
I am new to GTK programming. When I try to create a button to call a color picker. I am using GTK+2.0 on RedHat 9, so the colorbutton is not supported. It is OK to use a drawing area as the example. But I have a question:
Anytime when the color of the color picker changed, the program use the command:
to set the color to the drawing area.
But I can not find the bidirection function, that is query the color of the drawing area bg, so it can be set to the color picker as an initial reference. Is there any way to do that?
Any help will be appreciated!