Re: Update progress bar without returning to main loop?



rob page wrote:

Hi,

You might want to try using this instead:

Gdk::Window::process_all_updates()
Ah, yes, that's it! There's Gdk::Window::process_all_updates(), which will "flush" all requests for the entire application, and Gdk::Window::process_updates() that will do it for a specific window.

Actually, I think I've looked at these calls in the docs earlier, and perhaps even used them in code that's now obsolete, but there was no way I could remember what they were called or where they were located (I'm just too forgetful these days ;-(), and I missed them completely when scanning the documentation web pages again. (So I started to think that I had just imagined seeing methods like that...)

Thanks for reminding me!

Although, please bear in mind I haven't tried it :)
It works...

- Toralf




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]