Issue
I want to define a tk.Scale
widget and assing the command function LATER ON. I'm think of something similar to scale.set() but for the command option. Is there a way to do this?
Solution
Nearly all options of all widgets can be configured at any time via the configure
and config
methods (one is a synonym for the other).
scale = tk.Scale(...) ... scale.configure(command=the_command)
Answered By - Bryan Oakley
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.