Re: What is the minimum number of lines to update a gui window without user clicking a button




As far as you seeing a technical problem, is it possible that you could post some code that would actually work to identify the problem?

Your function "HelloWorld::cpp_app" indicated in this example that it will execute for some seconds. I got doubts that the graphical user interface will be as responsive as you might expect it. A well-known approach is to perform long lasting data processing in a dedicated thread which is separate from the one which serves the user interface. You need to be very careful with synchronisation so that you avoid thread-unsafe data accesses.
http://en.wikipedia.org/wiki/Synchronization_%28computer_science%29


I can't say I fully understand it.

Do you like a different description about GUI architectures?
http://martinfowler.com/eaaDev/uiArchs.html

Regards,
Markus


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