Skip to content
mvz edited this page Mar 26, 2013 · 1 revision

Gdk::Color

Gdk::Color has no constructor taking color values, so you have to set each value separately, like so:

clr = Gdk::Color.new
clr.red = 0xffff
clr.green = 0x8888
clr.blue = 0x0
Clone this wiki locally