[Vala] Use alpha in GtkColorButton in GTK3 with Vala

2013-06-01 Thread Satyajit Sahoo
I want to use an alpha value in the color buttons in my app - https://github.com/satya164/elegance-colors Currently I'm using colorbutton.set_use_alpha (true);, as documented in http://www.valadoc.org/#!api=gtk+-3.0/Gtk.ColorButton But, while compiling, I get warnings saying,

Re: [Vala] Use alpha in GtkColorButton in GTK3 with Vala

2013-06-01 Thread Jonas Kulla
2013/6/1 Satyajit Sahoo satyajit.ha...@gmail.com I want to use an alpha value in the color buttons in my app - https://github.com/satya164/elegance-colors Currently I'm using colorbutton.set_use_alpha (true);, as documented in http://www.valadoc.org/#!api=gtk+-3.0/Gtk.ColorButton But,

Re: [Vala] Use alpha in GtkColorButton in GTK3 with Vala

2013-06-01 Thread Evan Nemerson
On Sat, 2013-06-01 at 22:27 +0200, Jonas Kulla wrote: 2013/6/1 Satyajit Sahoo satyajit.ha...@gmail.com I want to use an alpha value in the color buttons in my app - https://github.com/satya164/elegance-colors Currently I'm using colorbutton.set_use_alpha (true);, as documented in

Re: [Vala] Use alpha in GtkColorButton in GTK3 with Vala

2013-06-01 Thread Satyajit Sahoo
Thanks all. It works perfectly. I hope the code samples in valadoc.org can be updated though. On 2 June 2013 02:41, Evan Nemerson e...@coeus-group.com wrote: On Sat, 2013-06-01 at 22:27 +0200, Jonas Kulla wrote: 2013/6/1 Satyajit Sahoo satyajit.ha...@gmail.com I want to use an alpha