summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-17 06:40:28 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-17 06:40:28 +0000
commit9a27cf9499be318b478346959c6d3b571653bcc9 (patch)
tree33717efca9f77dc1c47ecbf2f8a896b89811ecf3
parent81cb5de20ba8ab0f1d7c1ed539cfa866d3259f49 (diff)
tk.rb :
* recover and fix typo : Tk.chooseDirectory (Tk8.4 feature) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/tk/lib/tk.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 22489dc1b0..ec69fb04ce 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