For completion, please notice that the use of the fl_mac_set_about() function is independent from the use of the Fl_Sys_Menu_Bar class.
The fl_mac_set_about() function attaches a callback to the "About ..." item of the application menu which is a standard Mac OS X application menu, supplemented with a "Print Front Window" item. This menu can be customized (typically to non-English languages) using the Fl_Mac_App_Menu class. Its "Print Front Window" item can also be removed altogether using this class. The Fl_Sys_Menu_Bar class allows to populate the system menu bar with other menus besides the application menu, constructing these menus the FLTK way. > I've not used Fl_Sys_Menu_Bar before, and have a question. > > On macs, how does the app take control of the default > "<Appname>/About" menu in the Fl_Sys_Menu_Bar? > > The Sudoku test program has a similar problem to my app > in that there ends up being two "About" menu items that are different: > > 1) A default one under "sudoku/About" > 2) Another one under "Help/About Sudoku" > > #2 is the one that the Sudoku app has populated with data, > but the one most Apple users will click on is #1 which shows little info. > > Is there a way to take control of #1 in a "portable" way? > > It'd be good if we could just hook the Mac "About" with a > function pointer and userdata. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk