I derived the Fl_Button class for our application. The used object is embedded in a group of other widgets.
In order to reflect the various system states I have to deactive and activate the button. - Fl_button::deactivate() works fine - after decativatin I re-activate the button. I still can not push the buttion althought the internal state of the button and all its parents is activated (by checking Fl_Button::activate_r() in following case: a. The GUI calls the business logic to perform a task. b. While performing the task, the business logic has to change the system state. It call the GUI back to enforce it to change the GUI state in accordance to the business logic. If the GUI calls the Fl_Button::activate() directly, it works fine What is wrong in my thinking? Thanks and best regards - Nguyen-Dobinsky - _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
