ruby-****@sourc*****
ruby-****@sourc*****
2012年 12月 12日 (水) 13:49:31 JST
------------------------- REMOTE_ADDR = 184.145.81.223 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-tb ------------------------- @@ -721,8 +721,12 @@ ## ---------- def set_dnd_source_frame_widget(widg) - - Gtk::Drag.dest_unset(widg) # cancel earlier dnd destibation setting + + ### ----------------------------------------------------------------------(start)-- + ### NOTE: -- the following is not really necessary, if commented out all + ### still works fine! + # Gtk::Drag.dest_unset(widg) # cancel earlier dnd destibation setting + ### ----------------------------------------------------------------------(end)---- widg.add_events(Gdk::Event::BUTTON_PRESS_MASK) widg.signal_connect('button-press-event') do |w, e|