diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-02 16:59:02 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-02 16:59:02 +0000 |
commit | 697908d0d4237db41a48f7f89ed62ba91b3fccf9 (patch) | |
tree | 006fab6ba2abe41298c188f347a53307646d35f9 /ext/tk/lib/tk.rb | |
parent | 4c10b035ef46165c1b9a42183c7744988a38138a (diff) | |
download | ruby-697908d0d4237db41a48f7f89ed62ba91b3fccf9.tar.gz |
* ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missing
returns proper object. "widget.option = val" returns val, and
"widget.option(val)" returns self.
* ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument.
* ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and value=(val).
* ext/tk/lib/tk/spinbox.rb: callback substitution support on command option.
* ext/tk/sample/demos-en/widget: bug fix (wrong image height)
* ext/tk/sample/demos-jp/widget: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r-- | ext/tk/lib/tk.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 0abab4b3ec..9081eb9939 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -3186,8 +3186,10 @@ class TkObject<TkKernel when 1 if name[-1] == ?= configure name[0..-2], args[0] + args[0] else configure name, args[0] + self end when 0 begin |