ruby-****@sourc*****
ruby-****@sourc*****
2013年 3月 20日 (水) 02:10:02 JST
------------------------- REMOTE_ADDR = 184.145.81.215 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-agtkw-draww ------------------------- @@ -171,11 +171,12 @@ {{image_right("agtkw-02-drawingareas.png")}} -My first image above suffered due to the just described problem with the((*expose_event,*)) namely, the generated geometric shapes are lost when the window is repainted. Here, in the image on the right, we can see that there is a solution to this problem. To fix it we need to place our shape drawing instance methods or algorithms into the callback triggered by the offending ((*expose_event*))event. +My first image above suffered due to the just described problem with the((*expose_event,*))namely, the generated geometric shapes are lost when the window is repainted. Here, in the image on the right, we can see that there is a solution to this problem. To fix it we need to place our shape drawing instance methods or algorithms into the callback triggered by the offending ((*expose_event*))event. -Following is the awkward fix: +{{br}} +Following is the fix now also repainting generated geometric shapes in the((*expose_event*))callback: {{br}}