Method: Tk::CheckButton#toggle
- Defined in:
- lib/tk/checkbutton.rb
#toggle ⇒ Object
def create_self(keys)
if keys and keys != None
tk_call_without_enc('checkbutton', @path, *hash_kv(keys, true))
else
tk_call_without_enc('checkbutton', @path)
end
end private :create_self
20 21 22 23 |
# File 'lib/tk/checkbutton.rb', line 20 def toggle tk_send_without_enc('toggle') self end |