Re: How to update both the Console and the GTKMM gui window after running other functions



On 8/5/2013 2:17 PM, L. D. James wrote:
Thanks, Moh.  That resolved the error issue.  As far as I can see, it's functioning perfect!

Also, just in case someone else is using this code as a template for something, note that this code does still require a dispatcher to be robust.  It's possible for the code to crash if the user interacts with the window (e.g., by moving it or uncovering it) while it's updating.  The GUI operations should really be made from the context of the main thread.

-- Alan


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