Re: [Java-gnome-developer] Gtk Warnings

2012-02-06 Thread Serkan Kaba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Sorry but I would say we shouldn't make exceptions for the broken themes out there. So report a bug against that theme (or even fix it if you can) Regards, Serkan On 02/06/2012 12:20 PM, cyber python wrote: > First of all, thank you for the quic

Re: [Java-gnome-developer] show a ColorButton into a collumn of a TreeView

2012-02-06 Thread lameire alexis
thanks for your help but the use of DataColumnPixbuff make another problem The ListStore::setValue with the usage of DataColumnPixbuff need the usage of a Pixbuff but to optain it, I must draw it with caro. Cara Context class don't provide any constructor using a Pixbuff to draw into it, In this

Re: [Java-gnome-developer] show a ColorButton into a collumn of a TreeView

2012-02-06 Thread cyber python
You can use DataColumnPixbuf, and a CellRendererPixbuf to display an image (you can create one with ImageIO) filled with the desired color. To store a reference to the color object you can use DataColumnReference. Just remember that the model of the treeview is meant to be used only for presentatio

[Java-gnome-developer] show a ColorButton into a collumn of a TreeView

2012-02-06 Thread lameire alexis
Hi, I understood the way to use the model view of treeview widget but i need a custom use of this widget. I would like to store in the model a color, that must be shown in the treeview. To make this I need first to create my own CellRenderer, i would like to know how to do this. Secondly to store

Re: [Java-gnome-developer] Gtk Warnings

2012-02-06 Thread cyber python
First of all, thank you for the quick responses. The way I handle this for now (though it is clearly not a solution) is by ignoring any FatalError thrown on Gtk.init(). The theme is Adwaita Cupertino SL ( http://gnome-look.org/content/show.php/Adwaita+Cupertino?content=147061 ), but there is a gre