FLTK 2.0 Documentation


Revision 18 by Bill Spitzak, Michael Sweet, Craig P. Earls, Matthias Melcher, Nicolas Kaiser, Ben Stott
All contents ©1998-2011 by Bill Spitzak and others.
Permission is granted to reproduce this manual
or any portion, for any purpose, provided this
copyright and permission notice are preserved.

Table of Contents

  • File List All FLTK header files that define something other than a Class. Different areas of functionality are categorized into different header files.
  • Class List All C++ classes and structs defined by FLTK header files. In most cases you must include the header file <fltk/ClassName.h>, in a few rare cases the class is defined in one of the above header files.
  • Class Hierarchy Same list of classes and structs, but arranged by inheritance.
  • Class Members A list of all class members (methods, variables, enumerations, etc.) by name, with the class they are defined in. Useful when you see a method being called but are not sure what the class is.
  • File Members A list of all functions, enumerations, variables, etc., that are not members of classes, with the header file they are defined in.
  • Related Pages Tutorial by example of how to write programs using FLTK, how to run Fluid, emulation of older FLTK and of other toolkits, and various other subjects.

namespace fltk

All classes and functions for running the user interface are in the fltk:: namespace . Some utility functions such as in <fltk/string.h> are not in this namespace.

Put using namespace fltk; after the include files, and you will not need to put the "fltk::" in front of everything.

Fltk1.1 emulation is mostly achieved by aliasing the old class name "Fl" to this namespace so that the static methods in Fltk1.1 will work, and by typedefs from the new fltk::Widget class names to the older Fl_Widget class names.

Copyrights and Trademarks

FLTK is ©1998-2011 by Bill Spitzak and others.

UNIX is a registered trademark of the X Open Group, Inc. Microsoft and Windows are registered trademarks of Microsoft Corporation. OpenGL is a registered trademark of Silicon Graphics, Inc. Other names and terms in this manual are trademarks of their respective organizations.


Produced from source file comments using Doxygen (www.doxygen.org)