I have written some simple code to change the color of a
disabled gradientbutton (import wx.lib.agw.gradientbutton).
def __init__(self,parent, id=wx.ID_ANY, pos =
wx.DefaultPosition, size = wx.DefaultSize, name='', label = '',
GB.GradientButton.__init__(self, parent, id, bitmap,
label, pos, size,style=wx.NO_BORDER,
validator=wx.DefaultValidator, name = name)
But when I started to write the enabled code I asked a question
- why isn't there already a disabled and enabled (inactive,
active) color change available for the gradientbuttons???? I
googled but found nothing - that was a little surprising
considering that it's a common standard with buttons to have a
disable and enabled color differences.
So the question is has somebody already done the work and I just
missed it? Or is there some reason it not there? And yes I
know there are the PlateButtons - I just like the gradient
Thanks in advance for any comments,
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.