On 07/23/12 03:52, Matthias Melcher wrote: > /** > * \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);
Thank you! I've added a reference to fl_mac_set_about() in the Fl_Sys_Menu_Bar docs (which is where I was looking for it) in r9636. Description now reads: --- Fl_Sys_Menu_Bar.H (revision 9635) +++ Fl_Sys_Menu_Bar.H (working copy) @@ -28,6 +28,9 @@ @brief A class to create, modify and delete menus that appear on Mac OS X in the menu bar at the top of the screen. * * On other than Mac OS X platforms, Fl_Sys_Menu_Bar is a synonym of class Fl_Menu_Bar. + * + * You can configure a callback for the 'About' menu item to invoke your own code with fl_mac_set_about(). + * */ _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk