mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eab2540846
commit
c12c7ab1dc
2 changed files with 7 additions and 5 deletions
|
@ -2334,9 +2334,9 @@ class TkButton<TkLabel
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class TkRadioButton<TkButton
|
class TkRadiobutton<TkButton
|
||||||
WidgetClassNames['Radiobutton'] = self
|
WidgetClassNames['Radiobutton'] = self
|
||||||
def TkRadioButton.to_eval
|
def TkRadiobutton.to_eval
|
||||||
'Radiobutton'
|
'Radiobutton'
|
||||||
end
|
end
|
||||||
def create_self
|
def create_self
|
||||||
|
@ -2352,10 +2352,11 @@ class TkRadioButton<TkButton
|
||||||
configure 'variable', tk_trace_variable(v)
|
configure 'variable', tk_trace_variable(v)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
tkRadioButton = TkRadiobutton
|
||||||
|
|
||||||
class TkCheckButton<TkRadioButton
|
class TkCheckbutton<TkRadiobutton
|
||||||
WidgetClassNames['Checkbutton'] = self
|
WidgetClassNames['Checkbutton'] = self
|
||||||
def TkCheckButton.to_eval
|
def TkCheckbutton.to_eval
|
||||||
'Checkbutton'
|
'Checkbutton'
|
||||||
end
|
end
|
||||||
def create_self
|
def create_self
|
||||||
|
@ -2365,6 +2366,7 @@ class TkCheckButton<TkRadioButton
|
||||||
tk_send 'toggle'
|
tk_send 'toggle'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
TkCheckButton = TkCheckbutton
|
||||||
|
|
||||||
class TkMessage<TkLabel
|
class TkMessage<TkLabel
|
||||||
WidgetClassNames['Message'] = self
|
WidgetClassNames['Message'] = self
|
||||||
|
|
|
@ -9,7 +9,7 @@ TopLevel = TkToplevel
|
||||||
Frame = TkFrame
|
Frame = TkFrame
|
||||||
Label = TkLabel
|
Label = TkLabel
|
||||||
Button = TkButton
|
Button = TkButton
|
||||||
Radiobutton = TkRadioButton
|
Radiobutton = TkRadiobutton
|
||||||
Checkbutton = TkCheckButton
|
Checkbutton = TkCheckButton
|
||||||
Message = TkMessage
|
Message = TkMessage
|
||||||
Entry = TkEntry
|
Entry = TkEntry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue