Re: inserting ColorButton in CellRenderer ....

On Fri, 2008-03-14 at 10:43 -0400, Roberto Alejandro Espí Muñoz wrote:
> Ok I saw it .. What I don't understand is why do you have to paint the
> widget from scratch?? and check if it is active, or toggled to paint
> that particular behaviour?? isn't there a simpler way to just add it
> to the cell and call the widget's own paint function?? The widget I
> want is a little more complex it has an inner rectangle showing the
> current color. 

unfortunately, the treeview cells are not drawn in the same way that a
widget draws itself into a GdkDrawable.

its wrong, but thats the way it is.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]