Re: Looking for an "on/off" toggle control
Charles McKnight <[email protected]> Tue, 12 Jan 2021 09:00:57 -0800
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Check this example for the wxToggleButton: http://zetcode.com/wxpython/widgets/ <http://zetcode.com/wxpython/widgets/> Just place the buttons side by side and change the appearance/text when the state of one changes. > On Jan 12, 2021, at 5:38 AM, [email protected] <[email protected]> wrote: > > Dear All > > I am looking for a wxPython control that looks like an "on/off" switch. Something like this: > https://developer.gnome.org/gtk3/stable/GtkSwitch.html > > I'd prefer a native implementation. I couldn't find anything in the docs, but maybe I am not looking at the right place. Any pointers? > > Thanks > Matthias > > -- > 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] <mailto:[email protected]>. > To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/7fa13b5b-299c-4ee5-8f95-a3036806a107n%40googlegroups.com <https://groups.google.com/d/msgid/wxpython-users/7fa13b5b-299c-4ee5-8f95-a3036806a107n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/124265A6-5246-45D8-8E50-CFA1FF3A5817%40gmail.com.