dnd_bindtarget

dnd_bindtarget(type, event, *args)
Instance Public methods

def #dnd_bindtarget(type, event, cmd=Proc.new, prior=50, *args)

event = tk_event_sequence(event)
if prior.kind_of?(Numeric)
  tk_call('dnd', 'bindtarget', @path, type, event,
          install_bind_for_event_class(DND_Subst, cmd, *args),
          prior)
else
  tk_call('dnd', 'bindtarget', @path, type, event,
          install_bind_for_event_class(DND_Subst, cmd, prior, *args))
end
self

end

doc_ruby_on_rails
2015-05-31 18:47:31
Comments
Leave a Comment

Please login to continue.