require 'tk'
require 'tkextlib/tkDND'

Tk::TkDND::DND

label = TkLabel.new{
	text "Hello, World!"
	dnd_bindtarget('text/uri-list', '<Drop>'){|event|
		p event
	}
        pack
}

Tk.mainloop
