diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-15 09:30:54 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-15 09:30:54 +0000 |
| commit | 884b09499b5c4b3fa1c9065982ad2364c879c53b (patch) | |
| tree | 43318ae79d89a411ce2859e2894021e7228bd65f /ext/tk/lib/tk.rb | |
| parent | 78064f6168eb5922d22407c30afc34150140384c (diff) | |
| download | ruby-884b09499b5c4b3fa1c9065982ad2364c879c53b.tar.gz ruby-884b09499b5c4b3fa1c9065982ad2364c879c53b.tar.xz ruby-884b09499b5c4b3fa1c9065982ad2364c879c53b.zip | |
* ext/tk/tk.rb: support "tk inactive" sub-command. [for Tcl/Tk8.5a3]
* ext/tk/tk/namespace.rb: support "namespace path" sub-command and
'namespace ensemble' sub-command. [for Tcl/Tk8.5a3]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
| -rw-r--r-- | ext/tk/lib/tk.rb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 6a66a2eb2..8ac03f1a9 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1351,6 +1351,19 @@ module TkCore end end + def inactive + Integer(tk_call_without_enc('tk', 'inactive')) + end + def inactive_displayof(win) + Integer(tk_call_without_enc('tk', 'inactive', '-displayof', win)) + end + def reset_inactive + tk_call_without_enc('tk', 'inactive', 'reset') + end + def reset_inactive_displayof(win) + tk_call_without_enc('tk', 'inactive', '-displayof', win, 'reset') + end + def appname(name=None) tk_call('tk', 'appname', name) end @@ -4130,7 +4143,7 @@ end #Tk.freeze module Tk - RELEASE_DATE = '2005-06-03'.freeze + RELEASE_DATE = '2005-06-15'.freeze autoload :AUTO_PATH, 'tk/variable' autoload :TCL_PACKAGE_PATH, 'tk/variable' |
