PYGTK Cambiar el color de una fila
Juan Carlos Rodrigo
jrodrigog en gmail.com
Lun Oct 16 02:58:45 CEST 2006
http://www.pygtk.org/docs/pygtk/class-gtkcellrenderertext.html
Mirando la referencia de un CellRendererText... Tienes que estar
usando varios por cada fila. Veo que hereda de CellRenderer
que provee los siguientes atributos:
"cell-background"
Write The background color of the cell as a string. Default: None.
"cell-background-gdk"
Read/Write The background color of the cell as a gtk.gdk.Color.
"cell-background-set"
Read/Write If True the cell background color is set by this cellrenderer.
Default: False. !!!!
Por tanto pong el cell-background-set a True y establece tu color
mediante cell-background o cell-background-gdk
Saludos.
------------ próxima parte ------------
_______________________________________________
Python-es mailing list
Python-es en aditel.org
http://listas.aditel.org/listinfo/python-es
Más información sobre la lista de distribución Python-es