Menu

Tree [39649b] master /
 History

HTTPS access


File Date Author Commit
 contrib 2011-01-22 andreasheld andreasheld [917c36] Fixed tree.py and removed contributed Fl_Table
 dist 2025-05-11 Robert Arkiletian Robert Arkiletian [39649b] Add 1.4.3 source distribution
 docs 2024-11-19 ggarra13 ggarra13 [23b38d] Changed use of contrib/ directory for plug-in w...
 fltk 2025-05-11 Robert Arkiletian Robert Arkiletian [89b475] Prepare for 1.4.3 release
 makefiles 2000-11-06 kpd kpd [7cef44] Initial revision
 perl5 2000-11-06 kpd kpd [7cef44] Initial revision
 plug-in 2024-11-19 ggarra13 ggarra13 [23b38d] Changed use of contrib/ directory for plug-in w...
 python 2023-07-29 andreasheld andreasheld [a6187f] Update to latest fltk-1.4.x-20230728 version. M...
 src 2023-07-29 andreasheld andreasheld [a6187f] Update to latest fltk-1.4.x-20230728 version. M...
 swig 2025-04-14 andreasheld andreasheld [9d5846] Added typemap for fl_xid.
 util 2020-10-30 andreasheld andreasheld [8d0030] Aplied patch #9.
 CHANGES 2025-05-11 Robert Arkiletian Robert Arkiletian [89b475] Prepare for 1.4.3 release
 COPYING 2000-11-06 kpd kpd [7cef44] Initial revision
 HowToCreateNewRelease.txt 2025-05-11 Robert Arkiletian Robert Arkiletian [89b475] Prepare for 1.4.3 release
 INSTALL 2025-05-11 Robert Arkiletian Robert Arkiletian [89b475] Prepare for 1.4.3 release
 MANIFEST 2024-12-16 andreasheld andreasheld [5c4143] Added new test file.
 MANIFEST.in 2024-12-01 robark robark [43dd80] switch back to fltk import string instead of fl...
 README.md 2025-05-11 Robert Arkiletian Robert Arkiletian [89b475] Prepare for 1.4.3 release
 ReleaseNotes.txt 2025-05-11 Robert Arkiletian Robert Arkiletian [89b475] Prepare for 1.4.3 release
 TODO 2023-08-01 andreasheld andreasheld [b2126d] Fixed various wrappings.
 distutils_mod.py 2020-10-30 andreasheld andreasheld [8d0030] Aplied patch #9.
 notes 2000-11-06 kpd kpd [7cef44] Initial revision
 setup.py 2025-05-11 Robert Arkiletian Robert Arkiletian [89b475] Prepare for 1.4.3 release

Read Me

pyFLTK:

A Python Wrapper for the FLTK library

GOALS:

  • To wrap FLTK1.4 in Python
  • To port all programs in test/ to Python using pyFLTK

If you'd like to help out, I'd suggest using the pyfltk mailing list
(at the bottom) to coordinate who's working on what.

1) This wrapper requires:

  • SWIG 4.0 or later
  • Python 3.8 or later
  • Fast Light Toolkit 1.4 or later

2) Restrictions

At present, the Python wrapper has been ported and is quite stable. You might encounter certain parts that are not yet or only partailly wrapped.

3) The wrapper is available on PyPi: https://pypi.org/project/pyfltk/

4) see INSTALL file for instructions how to build or install the Python wrapper of FLTK

5) Do the following to run some tests:

cd fltk/test

python hello.py
or
    python3 hello.py (depending on your platform)
  • ./test contains demo programs from the FLTK distribution reimplemented
    in Python.
  • You can run ./test/demos.py for a little
    menu of the demos

On the web:

pyFLTK home page: http://pyfltk.sourceforge.io

License:

pyFLTK Copyright (C) 2003-2025 Andreas Held and others licensed under the
GNU Library General Public License, version 2.0, June 1991

This library is free software you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License, version 2.0 as published by the Free Software Foundation.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.

Leads:

Andreas Held andreasheld[at]users.sourceforge.net

Robert Arkiletian

Mailing List:

http://lists.sourceforge.net/lists/listinfo/pyfltk-user

Thanks:

Especial thanks to Kevin Dalhausen, the originator of pyFLTK. He did
such a good job, the rest was easy.

Many thanks to the creators of fltk (www.fltk.org), the best, fastest
and lightest toolkit there is!

Finally, not to forget the creators of SWIG (www.swig.org) a unique
tool for doing what we've done here.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.