Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » howto best Ctrl Refresh handling w/ MT & very frequent refreshes
Re: howto best Ctrl Refresh handling w/ MT & very frequent refreshes [message #26976 is a reply to message #26974] Wed, 16 June 2010 11:23 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Maybe your solution is a combination of the ideas in this thread. Can't you update only data in your threads and update your entire GUI at a fixed interval? Using a MVC model. You update your Model only. If you need to update a label and are worried about the label Refresh, update a string and in you "update view" method set that label. But you must make sure that your total number of updates in a given period of time is less than it would be if the threads would update at their own pace. Otherwise you wont get any performance benefit and your code will become very complex.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GtkWidget inside U++
Next Topic: DONE: ColumnList with Ctrl's
Goto Forum:
  


Current Time: Tue May 07 18:21:17 CEST 2024

Total time taken to generate the page: 0.02543 seconds