Oh no I have to be creative! ;-)

Something like "groupOnlyDeselect" ?

On Wed, 19 Aug 2009 10:01:01 pm Greg Brown wrote:
> > 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?

Reply via email to