[Gambas-user] Issue 36 in gambas: Problem between Process and DrawingArea

gambas at ...2524... gambas at ...2524...
Sat Feb 19 16:21:51 CET 2011


Updates:
	Status: WontFix

Comment #3 on issue 36 by benoit.m... at ...626...: Problem between Process  
and DrawingArea
http://code.google.com/p/gambas/issues/detail?id=36

That's it!

By using DrawingArea.Clear() inside the Draw event handler, you are  
actually calling it again and again. In gb.gtk+, the event loop only raises  
these events, and does not have the time to call the other events,  
especially Process_Read and Process_Kill.

Don't call DrawingArea.Clear() inside the Draw event handler, it does not  
do what you want. Use Draw.Clear() instead.

I will check why gb.gtk+ event loop cannot raise other events in that case.  
DrawingArea.Clear() will not call Refresh() anymore. That method is only  
useful when the DrawingArea is cached.





More information about the User mailing list