summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 05:27:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 05:27:42 +0000
commit851d5439d0007e9e9835f471c1361f7cf1ddd3c0 (patch)
treea20bc96d5b9ff2a6a076612026fd90d0cbef65cb
parent07ae64b05c11b8e8230e99d84463cac495569d22 (diff)
* ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly
removed method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4170 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 d33f5d7d7..aa4d58d6d 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -960,6 +960,10 @@ module TkCore
tk_call 'tk_chooseColor', *hash_kv(keys)
end
+ def chooseDirectory(keys = nil)
+ tk_call 'tk_chooseDirectory', *hash_kv(keys)
+ end
+
def ip_eval(cmd_string)
res = INTERP._eval(cmd_string)
if INTERP._return_value() != 0