Class: Checkbutton (Ruby 2.3.4)

In Files

  • tk/lib/tk/checkbutton.rb

Methods

Class/Module Index [+]

Quicksearch

Checkbutton

Public Instance Methods

toggle()

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 21
def toggle
  tk_send_without_enc('toggle')
  self
end