Documentation

   
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  ]
 
FL

FLTK 1.1.10 Programming Manual

Revision 10 by Michael Sweet, Craig P. Earls,
Matthias Melcher, and Bill Spitzak
Copyright 1998-2009 by Bill Spitzak and others.

This software and manual are provided under the terms of the GNU Library General Public License. Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.
Preface

1 - Introduction to FLTK

2 - FLTK Basics

3 - Common Widgets and Attributes 4 - Designing a Simple Text Editor

5 - Drawing Things in FLTK

6 - Handling Events 7 - Adding and Extending Widgets

8 - Using OpenGL
9 - Programming with FLUID 10 - Advanced FLTK

A - Class Reference

B - Function Reference

C - FLTK Enumerations.H

D - GLUT Compatibility E - Forms Compatibility

F - Operating System Issues

G - Migrating Code from FLTK 1.0.x

H - Software License

I - Example Source Code

User Comments [ Add Comment ]

From Galen Kannarr, 10:30 Jul 12, 2004 (score=4)

I would like to see a chapter which explains how FLTK solves common challenges faced by GUI toolsets.  Topics which come to mind are 1) event handling, 2) how and when draw() is performed), 3) reacting to user input (callbacks and how they are different from handle()), 4) widget layout in a dynamic environment (window resizing, addition of widgets, children of Fl_Group which customize the behavior such as Fl_Pack, Fl_Tile, and Fl_Scroll).  Chapter 6 comes close regarding the event model, but I think it needs something--which I can't put my finger on--to clarify the big picture.

I'm thinking of something less tutorial than the text editor example chapter and less encyclopedic than the class reference.  Sort of a "Theory of FLTK."  I think this would immensely help FLTK newbies come up to speed, both first-time GUI developers and those migrating from other GUI environments.  I see so many questions in the newsgroup which could use such a reference.

Before I lose the thought, some form of Greg Ercolano's excellent description of the use of resizable() belongs in this proposed chapter.  You can find it by searching for "precise widget placement in a resizable window" in the fltk.general newsgroup (can't put URLs here, it turns out).
Reply ]

From bilbonec, 06:16 Nov 29, 2004 (score=3)

Hello, Is FLTK full-compatible with GLUI ? I had some problems using fltk with glui, glut and glu. Have i to recompile glui32.lib or fltk libraries to get them compatible ? Thanks for help.
Reply ]

From Anonymous, 03:22 Oct 28, 2003 (score=2)

It would be nice if a simple example image would be placed on each widget description page. Or - even better - if there is a page with examples of all widgets and if you click on a widget you come to the description page of this widget. :-)
Reply ]

From greg.ercolano, 11:00 Aug 16, 2006 (score=3)

+1 to that.


Reply ]

From Mark T., 14:25 Sep 30, 2004 (score=1)

Incorrect link: In Appendix A, the link for class Fl_Image is incorrect. It points to the drawing section of chapter 5:
  www.fltk.org/documentation.php/doc-1.1/drawing.html#Fl_Image rather than the correct location:
  www.fltk.org/documentation.php/doc-1.1/Fl_Image.html
Reply ]

From Mark T., 09:25 Sep 30, 2004 (score=1)

The link to "Drawing Images" under chapter 5 goes to a page dealing with images in Fluid.  The existing link would be much better placed in section 9 with other Fluid items.

There IS a section named "Drawing Images" in section 5 where this link should point.
Reply ]

From nik04, 16:04 May 04, 2004 (score=1)

I was looking for a graphical library for C++ recently (my first attempt to develop GUI with C++) and I was lucky to meet with fltk-1.1.5rc1. I was able to compile the source code using Visual C++ 6 ( thanks to Erco's FLTK Video Tutorial) and I have started with some basic tasks. I wish to be able to use FLTK with MinGW but I coudn't pass the compilation with it. I think it will be great if compiled stuff is provided along with all other documentation. Many thanks to the developers of the FLTK!
Reply ]

From Matthias, 02:29 Jun 19, 2004 (score=1)

Please use fltk1.1.4. It should compile with Cygwin?mingw out of the box. Also, could you please forward the compilation warnings and error to the FLTK mailing list, so we can fix it.
Reply ]

From FH, 22:40 Feb 17, 2004 (score=1)

void Fl_Tile::resizable(Fl_Widget &w) void Fl_Tile::resizable(Fl_Widget *w)

I can't find the methods above in the source of Fl_Tile.*.
Reply ]

From zaccrain, 12:19 Mar 19, 2004 (score=3)

It is inherited from class Fl_Group

So it's not really...
    void Fl_Tile::resizable(Fl_Widget &w)
    void Fl_Tile::resizable(Fl_Widget *w)

Rather it is inherited from Fl_Group.
    void Fl_Group::resizable(Fl_Widget &w)
    void Fl_Group::resizable(Fl_Widget *
w)

This is only applicable for Fl_Tile (and other classes that inherit Fl_Group)... follow the hierarchy up to Fl_Widget and look at the classes that directly inherit Fl_Widget.  These classes contain the resizable() method.
Reply ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2012 by Bill Spitzak and others. This project is hosted by Seriss Corporation. Please report site problems to 'erco@seriss.com'.