diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-01 02:27:03 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-01 02:27:03 +0000 |
commit | d57bbd48f8d43b512d171f53edc198d3043d933c (patch) | |
tree | d3830681d5ee2893730f9d90724a3af0b36d846e /ext/tk/lib/tk/pack.rb | |
parent | 4197dc549443fad2acf58e5a6fef82475881791a (diff) |
* ext/tk/lib/tk/grid.rb: revive TkGrid.grid
* ext/tk/lib/tk/pack.rb: revive TkPack.pack
* ext/tk/lib/tk/place.rb: revive TkPlace.place
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk/pack.rb')
-rw-r--r-- | ext/tk/lib/tk/pack.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tk/lib/tk/pack.rb b/ext/tk/lib/tk/pack.rb index 79f4d19d82..d592fa1c80 100644 --- a/ext/tk/lib/tk/pack.rb +++ b/ext/tk/lib/tk/pack.rb @@ -29,6 +29,7 @@ module TkPack } tk_call_without_enc("pack", 'configure', *params) end + alias pack configure def forget(*args) return '' if args.size == 0 @@ -66,7 +67,7 @@ module TkPack list(tk_call_without_enc('pack', 'slaves', master)) end - module_function :configure, :forget, :info, :propagate, :slaves + module_function :pack, :configure, :forget, :info, :propagate, :slaves end =begin def TkPack(win, *args) |