[issue28723] tkinter, radiobutton, indicatoron=0 has no effect.

Simon Holland report at bugs.python.org
Wed Nov 16 23:14:18 EST 2016


New submission from Simon Holland:

tkinters radiobutton's have an option 'indicatoron=0'  which should display Radio Buttons as actual labelled buttons.  

button = tk.Radiobutton(self, text=option, variable = var, value = answer, indicatoron=0)

Screenshots of expected and actual results ... http://imgur.com/a/2fI02

taken from ... http://stackoverflow.com/questions/34459221/tkinter-radiobutton-indicatoron-value-doesnt-effect-anything

Kkinter 8.5 descrbes the functionality as so : 
Normally a checkbutton displays as its indicator a box that shows whether the checkbutton is set or not. You can get this behavior by setting indic- atoron=1. However, if you set indicatoron=0, the indicator disappears, and the entire widget becomes a push-push button that looks raised when it is cleared and sunken when it is set. You may want to increase the bor- derwidth value to make it easier to see the state of such a control.

----------
components: Tkinter
files: u1mdKuC.png
messages: 281022
nosy: Inyoka
priority: normal
severity: normal
status: open
title: tkinter, radiobutton, indicatoron=0 has no effect.
type: behavior
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file45517/u1mdKuC.png

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28723>
_______________________________________


More information about the Python-bugs-list mailing list