Re: Re: Looking for an "on/off" toggle control

Matt Newville <[email protected]> Wed, 13 Jan 2021 14:45:46 -0600
Newsgroups gmane.comp.python.wxpython
Message-ID <CA+7ESbqwVdq=yXbNypgGNHCWnuM4Qe_0T1i7Tuk3yNjnQspzbg@mail.gmail.com>
On Wed, Jan 13, 2021 at 2:01 PM john fabiani <[email protected]> wrote:

> I normally don't use anything from windows 10 uwp - but I am fairly sure
> the Toggle switch is available.
>
> Also "re-inventing"  - if you are not willing to write a custom widget
> then you will either have to wait until some future version that has the
> control built-in or make do with the checkbox.  You must be aware that
> for many many years the checkbox was all that was available on all
> platforms.  It seem to work just fine.  The switch is a new UI
> development as are many others.  I happen to like it - but many others I
> don't believe add anything other than change for changes sake.  That
> said, I believe the current toggle switch conveys the action of being
> "on or off" very well.
>

References:

https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/toggles

https://developer.apple.com/design/human-interface-guidelines/macos/buttons/switches/

Both companies suggest that toggle switches have a different purpose from a
checkbox, implying both immediate action (as opposed to the selection of a
preference) and propagation to other GUI elements, turning on/off a whole
category of options and displays for example.

--Matt

-- 
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 [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CA%2B7ESbqwVdq%3DyXbNypgGNHCWnuM4Qe_0T1i7Tuk3yNjnQspzbg%40mail.gmail.com.