Everything Totally Explained


Ask & we'll explain, totally!
FLTK
Totally Explained


  NEW! All the latest news in the worlds of computer gaming, entertainment, the environment,  
finance, health, politics, science, stocks & shares, technology and much, much, more.  


View this entry using RSS

Everything about Fltk totally explained

The "Fast, Light Toolkit" (generally pronounced "fulltick") is a cross-platform GUI library, developed by Bill Spitzak and others. Made with 3D graphics programming in mind, it has an interface to OpenGL, but it's still suitable for general GUI programming.
   Using its own widget, drawing and event systems (though FLTK2 has gained experimental support for optionally using the cairo graphics library) abstracted from the underlying system-dependent code, it allows for writing programs which look the same on all supported operating systems.
   FLTK is free software, licensed under LGPL with an additional clause permitting static linking from applications with incompatible licenses. It includes FLUID (FLTK User Interface Designer), a graphical GUI designer that generates C++ source and header files.
   In contrast to libraries like Qt and wxWidgets, FLTK uses a more lightweight design and restricts itself to GUI functionality. Because of this, the library is very small (the FLTK "Hello World" program is around 100 KiB), and is usually statically linked. It also avoids complicated macros and separate code preprocessors, and doesn't use the following advanced C++ features: templates, exceptions, RTTI or, for FLTK 1.x, namespaces. Combined with the modest size of the package, this leads to a relatively short learning curve for new users.
   These advantages come with corresponding disadvantages. FLTK offers fewer widgets than most GUI toolkits and, because of its use of non-native widgets, doesn't have native look-and-feel on any platform.

What Does "FLTK" Mean?

FLTK was originally designed to be compatible with the Forms Library written for SGI machines (a derivative of this library called "XForms" is still used quite often). In that library all the functions and structures started with "fl_". This naming was extended to all new methods and widgets in the C++ library, and this prefix "FL" was taken as the name of the library. After FL was released as open source, it was discovered it was impossible to search "FL" on the Internet, due to the fact that it's also the abbreviation for Florida. After much debating and searching for a new name for the toolkit, which was already in use by several people, Bill Spitzak came up with "FLTK", with the bogus excuse that it stands for the "Fast Light Tool Kit".

Using FLTK in programming languages

FLTK was primarily designed for, and is written in, the C++ programming language. However, bindings exist for other object-oriented programming languages, for example Python and Ruby.
   The following example for FLTK 1.x creates a window with an "Okay" button:
  1. include
  2. include
  3. include
int main(int argc, char *argv[])

Software built on FLTK

  • The open-source deep-paint software CinePaint is migrating from GTK+ to FLTK.
  • flwm, an X window manager
  • Nuke, a piece of high-end digital compositing software
  • The Windows port of SmallBASIC
  • The open-source poster printing software PosteRazor (Windows, Mac OS X, Linux).
  • The BVH editor Avimator
  • Dillo web browser
  • Gmsh, an open-source Finite element mesh generator
  • EDE - Equinox Desktop Environment
  • Open Movie Editor
  • ZynAddSubFX, an open-source software synthesizerFurther Information

    Get more info on 'Fltk'.


    External Link Exchanges

    Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:

      <a href="http://fltk.totallyexplained.com">FLTK Totally Explained</a>

    Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
       As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned.



  • Copyright © 2007-8 totallyexplained.com | Licensed under the GNU Free Documentation License | Site Map
    This article contains text from the Wikipedia article FLTK (History) and is released under the GFDL | RSS Version