> I have an Fl_Menu_Bar with a few added items that have the
> FL_MENU_TOGGLE property. This adds checkboxes to the menu.
> 
> I need to change the visual indication that each menu item has been
> clicked from the checkbox to toggling menu item foreground (text) and
> background colors.
> 
> Obviously I could eliminate the FL_MENU_TOGGLE property if that'd help.

I don't know... for historical reasons, the menu entries in the fltk-1.x menus 
aren't "proper widgets" in the usual fltk sense, so changing their behaviour 
and appearance is a pain.

Though I think it can be - but I don't have any example code here; perhaps 
others have something?

(I think fltk3, and indeed fltk2, are attempting to address that menu 
discrepancy and make menu items more "normal" so this problem might go away. 
Eventually...)



********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to