ruby-****@sourc*****
ruby-****@sourc*****
2012年 12月 11日 (火) 13:57:36 JST
------------------------- REMOTE_ADDR = 184.145.81.223 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dnd-intro ------------------------- @@ -859,7 +859,7 @@ :Note: The source dnd widget in our 'dnd-toolbar*.rb' programs do not respond to Gtk::Widget's ((*'drag-*'*))signals at all, in fact these signals do not even provide button, and events parameters, we need to register a dnd source widget! -Lastly, we use source widget as an argument on invocation of 'set_dnd_source_frame_widget(htbframe)' instance method, or a parameter in this method definition, rather than an instance variable. The same is true for 'set_dnd_destination_frame_widget(htbframe, vtbframe)' instance method and its arguments and parameters. But the explanation of this should wait until you see, that both of these two 'set_dnd_*' methods are also called in a pseudo recursive call when the((*'drag-drop'*))signal is emitted and caught by the destination frame. And this is what we'll look at next. +Lastly, we use source widget (placeholder frame) as an argument on invocation of 'set_dnd_source_frame_widget(htbframe)' instance method, or a parameter in this method definition, rather than an instance variable. The same is true for 'set_dnd_destination_frame_widget(htbframe, vtbframe)' instance method and its arguments and parameters. But the explanation of this should wait until you see, that both of these two 'set_dnd_*' methods are also called in a pseudo recursive call when the((*'drag-drop'*))signal is emitted and caught by the destination frame. And this is what we'll look at next.