Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tk/checkbutton.rb

Methods

Class/Module Index [+]

Quicksearch

Checkbutton

Public Instance Methods

toggle() click to toggle source

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

 
               # File tk/lib/tk/checkbutton.rb, line 20
def toggle
  tk_send_without_enc('toggle')
  self
end