diff options
Diffstat (limited to 'ext/tk/lib/tk/button.rb')
-rw-r--r-- | ext/tk/lib/tk/button.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/tk/lib/tk/button.rb b/ext/tk/lib/tk/button.rb index 15e87c300d..407a47c400 100644 --- a/ext/tk/lib/tk/button.rb +++ b/ext/tk/lib/tk/button.rb @@ -8,14 +8,14 @@ class TkButton<TkLabel TkCommandNames = ['button'.freeze].freeze WidgetClassName = 'Button'.freeze WidgetClassNames[WidgetClassName] = self - def create_self(keys) - if keys and keys != None - tk_call_without_enc('button', @path, *hash_kv(keys, true)) - else - tk_call_without_enc('button', @path) - end - end - private :create_self + #def create_self(keys) + # if keys and keys != None + # tk_call_without_enc('button', @path, *hash_kv(keys, true)) + # else + # tk_call_without_enc('button', @path) + # end + #end + #private :create_self def invoke _fromUTF8(tk_send_without_enc('invoke')) |