summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/radiobutton.rb
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-06 03:44:00 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-06 03:44:00 +0000
commitf2db02042b6922805858791f28b7f76a98e7cdd2 (patch)
treef09e56363548c6d7e9e465b9d6d383d8a775a7c2 /ext/tk/lib/tk/radiobutton.rb
parent7d917b1f4d081115779d697746851b7d7142d4eb (diff)
* ext/tk/lib/{tk.rb,tk/itemconfig.rb}: configure creates
TkVariable if key name is 'variable' or 'textvariable' by default. [ruby-dev:26749] * ext/tk/lib/tk/{label,radiobutton}.rb: removed its own {variable,textvariable} function. * ext/tk/lib/tk/variable.rb: retains backward conpatibility. (written by Hidetoshi NAGAI) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk/radiobutton.rb')
-rw-r--r--ext/tk/lib/tk/radiobutton.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/tk/lib/tk/radiobutton.rb b/ext/tk/lib/tk/radiobutton.rb
index 5649a5c447..6f7a5f60a0 100644
--- a/ext/tk/lib/tk/radiobutton.rb
+++ b/ext/tk/lib/tk/radiobutton.rb
@@ -25,9 +25,6 @@ class TkRadioButton<TkButton
tk_send_without_enc('select')
self
end
- def variable(v)
- configure 'variable', tk_trace_variable(v)
- end
def get_value
var = tk_send_without_enc('cget', '-variable')