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 | f92a3958e397da3df239b250b48063ee7e76a198 (patch) | |
| tree | 006fab6ba2abe41298c188f347a53307646d35f9 /ext/tk/lib/tk.rb | |
| parent | 3db8351ac76c56dd70403df0b295325b3572a1b2 (diff) | |
| download | ruby-f92a3958e397da3df239b250b48063ee7e76a198.tar.gz ruby-f92a3958e397da3df239b250b48063ee7e76a198.tar.xz ruby-f92a3958e397da3df239b250b48063ee7e76a198.zip | |
* 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: http://svn.ruby-lang.org/repos/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 0abab4b3e..9081eb993 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 |
