Method: Tk::Text#tag_bind_append

Defined in:
lib/tk/text.rb

#tag_bind_append(tag, seq, *args, &block) ⇒ Object



785
786
787
788
789
790
791
792
793
794
# File 'lib/tk/text.rb', line 785

def tag_bind_append(tag, seq, *args, &block)
  # if args[0].kind_of?(Proc) || args[0].kind_of?(Method)
  if TkComm._callback_entry?(args[0]) || !block
    cmd = args.shift
  else
    cmd = block
  end
  _bind_append([@path, 'tag', 'bind', tag], seq, cmd, *args)
  self
end