A collegue observed that in "most systems," actions are launched
via releasing a mouse button, not pressing it.  In particular,
if one presses on a menu choice, then moves the mouse away before
releasing the mouse button, the choice is effectively cancelled.

Using fltk, this is also true, except for items on Fl_Menu_Bar
that have no submenus.  The docs say:

"If there is an item in the top menu that is not a title of a submenu, then it 
acts like a "button" in the menubar. Clicking on it will pick it."

That's sort of true and sort of not. Clicking on it will pick it, but,
unlike a button, moving away before releasing will also pick it.

Whether or not my guy is right about the "most systems" part,
I wonder it there's a way to tweak the Menu_Bar widget so that
it acts as described.

Thanks,
Stan


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to