mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
@ -71,8 +71,7 @@ class Demo:
|
|||
hm.add_checkbutton(label='BalloonHelp', underline=0, command=ToggleHelp,
|
||||
variable=self.useBalloons)
|
||||
# The trace variable option doesn't seem to work, instead I use 'command'
|
||||
#apply(w.tk.call, ('trace', 'variable', self.useBalloons, 'w',
|
||||
# ToggleHelp))
|
||||
#w.tk.call('trace', 'variable', self.useBalloons, 'w', ToggleHelp))
|
||||
|
||||
return w
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue