Re: PyGObject Maybe bug with alternate row colors in a Gt.TreeView

2018-05-16 Thread Reuben Rissler
On 05/16/2018 01:51 PM, Eric Cashon via gtk-app-devel-list wrote: The following gives an error if I use "cell-background" which is stated in the documentation. Maybe just a typo someplace but "cell_background" seems to work fine for binding the color column to the cell-background property.

Re: PyGObject Maybe bug with alternate row colors in a Gt.TreeView

2018-05-16 Thread Eric Cashon via gtk-app-devel-list
I took a look at the stackoverflow discussion about this and there is some sample code there to change colors of individual records in the treeview list. You can no longer do even and odd colors in CSS but being able to connect a cell renderer property to a column value can be very useful.

Re: PyGObject Maybe bug with alternate row colors in a Gt.TreeView

2018-05-15 Thread Emmanuele Bassi
On Tue, 15 May 2018 at 21:19, wrote: > Thank you for the link. > > On 2018-05-15 15:01 Emmanuele Bassi wrote: > > - the CSS "regions" were problematic for the whole theming system, > > so they were removed before we made the CSS selectors stable > > -

Re: PyGObject Maybe bug with alternate row colors in a Gt.TreeView

2018-05-15 Thread c.buhtz
Thank you for the link. On 2018-05-15 15:01 Emmanuele Bassi wrote: > - the CSS "regions" were problematic for the whole theming system, > so they were removed before we made the CSS selectors stable > - GtkTreeView does not use widgets, so CSS selectors do not > typically

Re: PyGObject Maybe bug with alternate row colors in a Gt.TreeView

2018-05-15 Thread Emmanuele Bassi
Hi; On 11 May 2018 at 21:57, wrote: > Please see this StackOverflow question. > https://stackoverflow.com/q/50281987/4865723 > > Is there an official bug about setup alternate (even & odd) row colors > with CSS in a Gtk.TreeView? > No, not any more. > Can someone give a

Re: PyGObject Maybe bug with alternate row colors in a Gt.TreeView

2018-05-15 Thread c.buhtz
Does know one of you have an idea about it or more detailed informations. I also don't know if it is a bug or if I am doing something wrong. My problem is I don't know to much about CSS. On 2018-05-11 22:57 wrote: > Please see this StackOverflow question. >