diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-17 06:40:28 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-17 06:40:28 +0000 |
commit | 9cf6076147b15018b037eca51c62bd86f7294098 (patch) | |
tree | 33717efca9f77dc1c47ecbf2f8a896b89811ecf3 /ext/tk | |
parent | 9745ecded00a62f51f1cc842f3b87bc001fd0102 (diff) | |
download | ruby-9cf6076147b15018b037eca51c62bd86f7294098.tar.gz ruby-9cf6076147b15018b037eca51c62bd86f7294098.tar.xz ruby-9cf6076147b15018b037eca51c62bd86f7294098.zip |
tk.rb :
* recover and fix typo : Tk.chooseDirectory (Tk8.4 feature)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/lib/tk.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 22489dc1b..ec69fb04c 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -859,6 +859,10 @@ module TkCore tk_call 'tk_getSaveFile', *hash_kv(keys) end + def chooseDirectory(keys = nil) + tk_call 'tk_chooseDirectory', *hash_kv(keys) + end + def chooseColor(keys = nil) tk_call 'tk_chooseColor', *hash_kv(keys) end |