Differences between revisions 123 and 124
Revision 123 as of 2007-12-08 10:25:12
Size: 10436
Editor: cup-ip-nas-1-p17
Comment:
Revision 124 as of 2007-12-17 18:48:01
Size: 10589
Editor: zot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
  || [http://avc.inrim.it/ AVC] || many || Fully automatic, live connection among graphical interface widgets and application variables. ||

GUI Programming in Python

Python has a huge number of GUI frameworks (or toolkits) available for it, from Tkinter (traditionally bundled with Python, using Tk) to a number of other cross-platform solutions, as well as bindings to platform-specific (also known as "native") technologies.

Cross-platform Frameworks

The major cross-platform technologies upon which Python frameworks are based include Gtk, Qt, Tk and wxWidgets, although many other technologies provide actively maintained Python bindings.

Platform-specific Frameworks

  • Package

    Target

    Notes

    BeThon

    BeOS

    MacPython

    MacOS

    Supports both OSX and OS9

    [http://pyobjc.sourceforge.net/ PyObjC]

    MacOSX

    Supports Cocoa Aqua GUIs on the Mac

    ["venster"]

    Windows

    [http://venster.sf.net Venster] is a highly native Windows GUI toolkit for Python based on the ctypes ffi library. The aim of Venster is to be a very lightweight wrapper around the standard Win32 API, making it easy to write slick windows applications in pure Python.

    Win32All

    Windows

    Also known by the names of its components: PythonWin (for the UI), Win32Com (for COM/ActiveX), Win32 (for some other parts of the API)

Anyone for a GuiProgrammingShootout?

GUI Design Tools and IDEs

CameronLaird's personal notes on Python GUIs [http://phaseit.net/claird/comp.lang.python/python_GUI.html] includes over 25 links to toolkits and techniques for connecting python with a GUI.

Other places to look are PythonGuis at Thinki, and http://sensei.co.il/python/ui.html .

Opendocs previously had some material on Qt programming with Python for on-line reading, but ownership of the domain appears to have lapsed. An online version of Boudewijn Rempt's book about PyQt for Qt 3, [http://www.commandprompt.com/community/pyqt/ GUI Programming with Python: QT Edition], is still available. An up-to-date book covering PyQt4, [http://www.qtrac.eu/pyqtbook.html Rapid GUI Programming with Python and Qt] by Mark Summerfield, is now available in print and as an online "rough cut". More details can be found on the [http://www.diotavelli.net/PyQtWiki/Books PyQt Wiki].

http://www.awaretek.com/toolkits.html - Choose Your GUI Toolkit: Find Your GUI Toolkit for Python based on your preferences. Quick cgi application which helps you make a choice. See also [http://awaretek.com/plf.html Python City].

http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments#Python - Wikipedia article describing several IDE's and GUI Builders.

Editorial Notes

The above lists should be arranged in ascending alphabetical order - please respect this when adding new frameworks or tools.

Currently, this section is rather incomplete. Don't be too disappointed if you can't find the information you need, but please add any information you can contribute. It might be useful to have information about the GUIs and development tools in a fixed format to make them more easily comparable (see WebProgrammingTemplate and WebProgrammingTemplateHelp). Some categories: directly supported widgets, add-on widgets, layout managers, etc. Maybe it could answer the questions in ChoosingGuiToolkits for each toolkit.

GuiProgramming (last edited 2024-04-09 18:58:46 by FeodorFitsner)

Unable to edit the page? See the FrontPage for instructions.