ruby-****@sourc*****
ruby-****@sourc*****
2012年 12月 11日 (火) 12:57:14 JST
------------------------- REMOTE_ADDR = 184.145.81.223 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dnd-intro ------------------------- @@ -834,7 +834,8 @@ # (10.2.2.3) === Setting Source And Destination Widgets In Toolbar Drag Program(s) -Not surprisingly, from the drag-and-drop processing perspective the most important methods in our DndTbWindow class are the 'set_dnd_source_frame_widget' and 'set_dnd_destination_frame_widget'. With the exception of a sneaky pseudo recursive call from the 'reverse_dnd_source_n_destination' method at the time((*'drag-drop'*))signal is emitted, they both are called only from the initialize method: +Not surprisingly, from the drag-and-drop processing perspective the most important methods in our DndTbWindow class are the 'set_dnd_source_frame_widget' and 'set_dnd_destination_frame_widget'. With the exception of a sneaky pseudo recursive call from the 'reverse_dnd_source_n_destination' method at the time((*'drag-drop'*))signal is emitted and caught by the destination frame, the two 'set_dnd_*' methods are both called only from the initialize method: + set_dnd_source_frame_widget(htbframe) set_dnd_destination_frame_widget(htbframe, vtbframe) # (source_fr, dest_fr)