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



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. You 
can pass some common color names or a rgb hex value for a color string.

Eric

Python would interpret cell-background as subtracting variable 'background' from variable 'cell'. Hence, all Gtk options with *-* in them get replaced with *_

*Reuben


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