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 | 735b3e3cb71ccd9d010e963823d459675eda62a5 (patch) | |
tree | 015bd32c37e8c4b753d34bd074fa59cc54179f1b /ext/tk/lib/tk.rb | |
parent | 7cae9d2f365ea877c60bd55dd0e1fa4027d9843d (diff) |
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@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 6a66a2eb29..8ac03f1a9a 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' |