On 11/5/22 01:11, Mo_Al_ wrote:
Hello
Is there a way to detect whether Fl_Menu_Button is popped-up prior to calling clear on it?
* Should FLTK provide is_posted() or is_popup() or some such method to Fl_Menu_ and friends?
* Add warnings in docs for all the Fl_Menu_ 'clear()' methods/suggest how to avoid?
* Perhaps clear() methods should automatically schedule/defer the work until the menu finishes posting?