Jan-23-2018, 04:43 PM
(This post was last modified: Jan-23-2018, 04:44 PM by Gribouillis.)
(Jan-23-2018, 03:18 PM)vulpesVelox Wrote: The explicit order of the args is addressed via the grid args, isn't it?The signature of the grid method is
>>> inspect.signature(tkinter.Button.grid) <Signature (self, cnf={}, **kw)>The documentation doesn't suggest a particular order for the arguments, so yes the keywords are needed.
(Jan-23-2018, 03:18 PM)vulpesVelox Wrote: "myVar" doesn't belong. I think. It's there for lack of an alternative methodI think
myVar
is indeed misleading in a tkinter program if the value is not a tkinter variable.