diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-13 03:46:35 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-13 03:46:35 +0000 |
| commit | aae8caa84634e4e46871dfa5b56c9bdaca0a9069 (patch) | |
| tree | 97e8af8f02a251e9c673af541e0492ca787126a4 /ext/tk | |
| parent | 2393f1994b273cd1070a273376e9cd3c23494a52 (diff) | |
| download | ruby-aae8caa84634e4e46871dfa5b56c9bdaca0a9069.tar.gz ruby-aae8caa84634e4e46871dfa5b56c9bdaca0a9069.tar.xz ruby-aae8caa84634e4e46871dfa5b56c9bdaca0a9069.zip | |
* ext/tcltklib/tcltklib.c: TclTkLib.do_one_event doesn't work.
* ext/tk/lib/tk.rb: Tk.thread_update is available.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
| -rw-r--r-- | ext/tk/lib/tk.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 4267b42a3..5bd6b3da8 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1940,8 +1940,10 @@ module Tk self end -=begin - # See tcltklib.c for the reason of why the following methods are disabled. + # NOTE:: + # If no eventloop-thread is running, "thread_update" method is same + # to "update" method. Else, "thread_update" method waits to complete + # idletask operation on the eventloop-thread. def Tk.thread_update(idle=nil) if idle tk_call_without_enc('thread_update', 'idletasks') @@ -1952,7 +1954,6 @@ module Tk def Tk.thread_update_idletasks thread_update(true) end -=end def Tk.lower_window(win, below=None) tk_call('lower', _epath(win), _epath(below)) @@ -4194,7 +4195,7 @@ end #Tk.freeze module Tk - RELEASE_DATE = '2005-07-05'.freeze + RELEASE_DATE = '2005-07-13'.freeze autoload :AUTO_PATH, 'tk/variable' autoload :TCL_PACKAGE_PATH, 'tk/variable' |
