mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tk.rb: add Tk.getMultiple{Open|Save}File() which return
an Array of selected files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
37b0e4164b
commit
8cd944803e
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jun 16 13:34:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
|
* ext/tk/lib/tk.rb: add Tk.getMultiple{Open|Save}File() which return
|
||||||
|
an Array of selected files.
|
||||||
|
|
||||||
Thu Jun 16 12:53:24 2005 Tanaka Akira <akr@m17n.org>
|
Thu Jun 16 12:53:24 2005 Tanaka Akira <akr@m17n.org>
|
||||||
|
|
||||||
* lib/time.rb (Time.parse): "Fri Jan 1 08:59:60 +0900 1999" was
|
* lib/time.rb (Time.parse): "Fri Jan 1 08:59:60 +0900 1999" was
|
||||||
|
|
|
@ -1534,10 +1534,16 @@ module TkCore
|
||||||
def getOpenFile(keys = nil)
|
def getOpenFile(keys = nil)
|
||||||
tk_call('tk_getOpenFile', *hash_kv(keys))
|
tk_call('tk_getOpenFile', *hash_kv(keys))
|
||||||
end
|
end
|
||||||
|
def getMultipleOpenFile(keys = nil)
|
||||||
|
simplelist(tk_call('tk_getOpenFile', '-multiple', '1', *hash_kv(keys)))
|
||||||
|
end
|
||||||
|
|
||||||
def getSaveFile(keys = nil)
|
def getSaveFile(keys = nil)
|
||||||
tk_call('tk_getSaveFile', *hash_kv(keys))
|
tk_call('tk_getSaveFile', *hash_kv(keys))
|
||||||
end
|
end
|
||||||
|
def getMultipleSaveFile(keys = nil)
|
||||||
|
simplelist(tk_call('tk_getSaveFile', '-multiple', '1', *hash_kv(keys)))
|
||||||
|
end
|
||||||
|
|
||||||
def chooseColor(keys = nil)
|
def chooseColor(keys = nil)
|
||||||
tk_call('tk_chooseColor', *hash_kv(keys))
|
tk_call('tk_chooseColor', *hash_kv(keys))
|
||||||
|
@ -4143,7 +4149,7 @@ end
|
||||||
#Tk.freeze
|
#Tk.freeze
|
||||||
|
|
||||||
module Tk
|
module Tk
|
||||||
RELEASE_DATE = '2005-06-15'.freeze
|
RELEASE_DATE = '2005-06-16'.freeze
|
||||||
|
|
||||||
autoload :AUTO_PATH, 'tk/variable'
|
autoload :AUTO_PATH, 'tk/variable'
|
||||||
autoload :TCL_PACKAGE_PATH, 'tk/variable'
|
autoload :TCL_PACKAGE_PATH, 'tk/variable'
|
||||||
|
|
Loading…
Reference in a new issue