fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Mac OS X-specific functions

Functions

void fl_open_callback (void(*cb)(const char *))
 Register a function called for each file dropped onto an application icon.
void fl_mac_set_about (Fl_Callback *cb, void *user_data, int shortcut=0)
 Attaches a callback to the "About myprog" item of the system application menu.

Variables

int fl_mac_os_version
 The version number of the running Mac OS X (e.g., 0x1064 for 10.6.4)

Detailed Description

Mac OS X-specific functions declared in <FL/x.H> or <FL/gl.h>


Function Documentation

void fl_mac_set_about ( Fl_Callback cb,
void *  user_data,
int  shortcut = 0 
)

Attaches a callback to the "About myprog" item of the system application menu.

Parameters:
cba callback that will be called by "About myprog" menu item with NULL 1st argument.
user_dataa pointer transmitted as 2nd argument to the callback.
shortcutoptional shortcut to attach to the "About myprog" menu item (e.g., FL_META+'a')
void fl_open_callback ( void(*)(const char *)  cb) [inline]

Register a function called for each file dropped onto an application icon.

Install an open documents event handler...

Definition at line 150 of file win32.H.

References open_cb().

Referenced by main().


Variable Documentation

The version number of the running Mac OS X (e.g., 0x1064 for 10.6.4)

Referenced by Fl_Font_Descriptor::Fl_Font_Descriptor(), fl_text_extents(), fl_width(), Fl::handle(), Fl::set_fonts(), and Fl_Font_Descriptor::~Fl_Font_Descriptor().