Can someone help me understand why toolbar.SetBackgroundColour(“orange”) isn’t working for me?
Thanks, Mike
panelTest.py (642 Bytes)
Can someone help me understand why toolbar.SetBackgroundColour(“orange”) isn’t working for me?
Thanks, Mike
panelTest.py (642 Bytes)
Using Arch Linux by the way.
On Saturday, April 8, 2017 at 12:42:34 PM UTC-5, barronmo wrote:
Can someone help me understand why toolbar.SetBackgroundColour(“orange”) isn’t working for me?
Thanks, Mike
Hi,
Using Arch Linux by the way.
I don't think GTK toolbar (any toolbar, for that matter) supports
changing the background
colour.
Try wxAuiToolbar as it is a custom control.
Thank you.
On Sat, Apr 8, 2017 at 1:46 PM, barronmo <barronmo@gmail.com> wrote:
On Saturday, April 8, 2017 at 12:42:34 PM UTC-5, barronmo wrote:
Can someone help me understand why toolbar.SetBackgroundColour("orange")
isn't working for me?Thanks, Mike
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I once encountered a similar issue.
If I recall correctly, the reason is that the definition of the color differs between Windows versions.
Then depending on what Windows version you are using and the definition RGB definition of the color in wxPython, it may or may not display correctly.
I searched the Windows definition of the color, then used the RGB version rather than ‘orange’.
Blue Flash.
Hope that helps
Saturday, April 8, 2017 at 7:42:34 PM UTC+2, barronmo wrote:
Can someone help me understand why toolbar.SetBackgroundColour(“orange”) isn’t working for me?
Thanks, Mike