Closed mikigal closed 9 months ago
this is expected behavior. Quoting our FAQ page
Q: My app is refreshed only when I move my mouse or type something, so my constantly changing Widgets doesn't work A: Giu implements Power Saving Mode. UI is not re-rendered if no event happens. To baypass this, you need to call giu.Update() whenever you want to redraw UI.
Hello,
I have running second thread which have to modify my UI. I'm chaning variables which are displayed by Giu from second thread using
runtime.LockOSThread()
Unfortunatelly GUI is refreshed only when I move mouse in application's window - when mouse is idle UI will never show new valueHere's my code (simplified to only loop incrementing variable - effect is the same as in original code):
What am I doing wrong? Maybe I'm using LockOSThread() wrong, I never used it before. How can I force UI to refresh e. g. 60 times per second (60 FPS)?