/** * \brief Attaches a callback to the "About myprog" item of the system application menu. * * \param cb a callback that will be called by "About myprog" menu item * with NULL 1st argument. * \param user_data a pointer transmitted as 2nd argument to the callback. * \param shortcut optional shortcut to attach to the "About myprog" menu item (e.g., FL_META+'a') */ extern void fl_mac_set_about( Fl_Callback *cb, void *user_data, int shortcut = 0);
On 23.07.2012, at 10:31, MacArthur, Ian (SELEX GALILEO, UK) wrote: > >> 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. > > I'm pretty sure Manolo had set it up in sort of that way - I think I even > used it... but that code is elsewhere right now... > > > > SELEX Galileo Ltd > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 > 3EL > A company registered in England & Wales. Company no. 02426132 > ******************************************************************** > 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 _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

