|
|
As requested, I'm attaching a sample of my message based thing. Updates the progress bar once a second.
Probably not useful to the OP, as it uses a secondary thread. Also probably not the best example, as I've not tried Ian's suggestion of Fl::awake.
Variant 1: main_gui_on_main.cpp : GUI is running on the main thread, work in secondary thread Variant 2: main_gui_on_secondary.cpp : Work is performed on main thread, GUI is running on a secondary thread.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/62423dbd-3312-47f0-a144-9c3dfad1d6bbn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |