pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: PushButton in Toggle Mode
Date Wed, 19 Aug 2009 12:01:01 GMT
> With a grouped set of PushButtons all in toggle mode. I can de- 
> select the
> currently selected button so that no buttons are selected. Is there  
> a property
> somewhere that can be set so that a toggle button in the group is  
> always
> selected? Just like the radio buttons do by default.

PushButtons don't currently support such a property, though it would  
be easy enough to add one. Alternatively, you could create a custom  
subclass of PushButton that overrides press() to achieve the behavior  
you need.

If we were to add a property like this, what might you expect it to be  
called?


Mime
View raw message