diff options
Diffstat (limited to 'ext/tk/lib')
-rw-r--r-- | ext/tk/lib/tk.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index dca4b8892e..af9c63f72a 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1668,6 +1668,11 @@ module Tk def Tk.update_idletasks update(true) end + def update(idle=nil) + # only for backward compatibility (This never be recommended to use) + Tk.update(idle) + self + end =begin # See tcltklib.c for the reason of why the following methods are disabled. |