Esto sí me funciona:
MiPanel.SetBackgroundColour(wx.Colour(0,255,0))
Pero esto no:
MiPanel.MiEtiqueta.SetBackgroundColour(wx.Colour(0,255,0))
Con la ayuda integrada he comprobado que hay estilos de relleno, pero no
me da ningún efecto nada de esto:
MiPanel.SetBackgroundStyle(wx.BG_STYLE_SYSTEM)
MiPanel.SetBackgroundStyle(wx.BG_STYLE_COLOUR)
MiPanel.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
MiPanel.MiEtiqueta.SetBackgroundStyle(wx.BG_STYLE_SYSTEM)
MiPanel.MiEtiqueta.SetBackgroundStyle(wx.BG_STYLE_COLOUR)
MiPanel.MiEtiqueta.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
En/na damufo ha escrit:
En 2010/04/30 13:03, Narcis Garcia - GiLUG escribiu:
Puede que wxWidgets venga con alguna propiedad de transparencia
predeterminada establecida diferente entre lo que usas tú y lo que uso
yo.
Tendré que buscar la manera de dibujar un rectángulo de color debajo de
la etiqueta de texto. Buscaré con wx.lib.ogl
Como te comentaba en mi caso estoy en windows.
Si tengo un rato lo pruebo en linux.
_______________________________________________
Python-es mailing list
Python-es@python.org
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/
_______________________________________________
Python-es mailing list
Python-es@python.org
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/