Method: Tk::Menu#tearoffcommand

Defined in:
lib/tk/menu.rb

#tearoffcommand(cmd = Proc.new) ⇒ Object



197
198
199
200
# File 'lib/tk/menu.rb', line 197

def tearoffcommand(cmd=Proc.new)
  configure_cmd 'tearoffcommand', cmd
  self
end