From 816fc3b9718c8c407a41d7e0a5d400b5f3ed07b6 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 1 Feb 2011 21:31:57 +0000 Subject: Mac OS only: added class Fl_Mac_App_Menu to support localization of the application menu. Added corresponding Doxygen doc. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/src/osissues.dox | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'documentation/src/osissues.dox') diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox index 45272ef71..363e278d7 100644 --- a/documentation/src/osissues.dox +++ b/documentation/src/osissues.dox @@ -2,7 +2,11 @@ \page osissues Operating System Issues -This appendix describes the operating system specific interfaces in FLTK. +This appendix describes the operating system specific interfaces in FLTK: +\li \ref osissues_accessing +\li \ref osissues_unit +\li \ref osissues_win32 +\li \ref osissues_macos \section osissues_accessing Accessing the OS Interfaces @@ -676,7 +680,8 @@ Apple "Open" Event \par Whenever the user drops a file onto an application icon, OS X generates an Apple Event of the type "Open". You can have FLTK -notify you of an Open event by setting the \c fl_open_callback +notify you of an Open event by calling the \ref fl_open_callback +function. void fl_open_display() @@ -699,19 +704,16 @@ Returns the Fl_Window that corresponds to the given window reference, or \c NULL if not found. FLTK windows that are children of top-level windows share the \c Window of the top-level window. -void \ref fl_open_callback(void (*cb)(const char *)) - -\par -\c cb will be called with a single Unix-style file name and path. -If multiple files were dropped, \c fl_open_callback() will be called -multiple times. - void fl_mac_set_about( Fl_Callback *cb, void *user_data, int shortcut) \par Attaches the callback \c cb to the "About myprog" item of the system application menu. \c cb will be called with NULL first argument and \c user_data second argument. +Fl_Mac_App_Menu class +\par +The Fl_Mac_App_Menu class allows to localize the application menu. + Fl_Sys_Menu_Bar class \par -- cgit v1.2.3