Forum: FXRuby Redraw entire FXCanvas instead of just exposed parts?

Posted by Tomas Na (tomast)
on 2009-04-06 17:54
Hi all

I am drawing some text on the screen, which is changed every 3 seconds.
I need to get the canvas to change when the text does. If I move a
window over the text on the canvas, it redraws the exposed parts with
the new text, but I need a way to automatically refresh the whole canvas
when the text is updated. Is this possible? I have searched on
http://www.fxruby.org/doc/api/ and tried refresh, repaint and
forceRepaint which are mentioned there but none of these seem to work.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.