[issue1774370] Add Tkinter.Checkbutton get() and set(value)

Guilherme Polo report at bugs.python.org
Thu Jun 26 18:57:37 CEST 2008


Guilherme Polo <ggpolo at gmail.com> added the comment:

On Thu, Jun 26, 2008 at 1:02 PM, Graham Horler <report at bugs.python.org> wrote:
>
> Graham Horler <grahamh at users.sourceforge.net> added the comment:
>...
> When you create a Checkbutton widget without giving a variable=SomeVar,
> a default variable is created which Tkinter does not give you easy
> access to.

I'm aware of that and that is why everywhere I see Checkbutton being
used I see a explicit variable being created.

> ...
> What do you mean by "add it to all the other widgets that play with it"?
>

I was referring to the other widgets that accepts *variable options.
Ideally I would to prefer to never need to instantiate Variable or any
of its subclasses, adding methods at the correct places. So what I
meant was to add this functionality everywhere it would cause some
benefit, not only for Checkbutton.

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


More information about the Python-bugs-list mailing list