FazBrowse Wikipedia Viewer | Main Page |
Search Wikipedia:
|
Viewing: https://en.wikipedia.org/wiki/WxPython

wxPython

Contents
History
    Project Phoenix
Use
    Example

Harri Pasanen"},"released":{"wt":"{{Start date and age|1998|df=yes}}"},"latest release version":{"wt":"4.2.2<ref>{{Cite web|date=2024-09-11|title=wxPython Changelog|url=https://www.wxpython.org/news/2024-09-11-wxpython-422-release/index.html|access-date=2024-11-28|website=wxPython|language=en}}</ref>"},"latest release date":{"wt":"{{Start date and age|2024|09|11}}"},"latest preview version":{"wt":""},"latest preview date":{"wt":""},"programming language":{"wt":"[[C++]] / [[Python (programming language)|Python]]"},"operating system":{"wt":"[[Cross-platform]]"},"genre":{"wt":""},"license":{"wt":"[[wxWidgets#License|wxWindows License]]"},"website":{"wt":"{{URL|http://wxpython.org/}}"}},"i":0}}]}'>
wxPython
DevelopersRobin Dunn
Harri Pasanen
Release1998;28 years ago (1998)

History

edit

In 1995, Robin Dunn needed a GUI application to be deployed on HP-UX systems but also run Windows 3.1 within short time frame. He needed a cross-platform solution. While evaluating free and commercial solutions, he ran across Python bindings on the wxWidgets toolkit webpage (known as wxWindows at the time). This was Dunn's introduction to Python. Together with Harri Pasanen and Edward Zimmerman he developed those initial bindings into wxPython 0.2.

In August 1998, version 0.3 of wxPython was released. It was built for wxWidgets 2.0 and ran on Win32, with a wxGTK version in the works.

The first versions of the wrapper were created by hand. However, the code became difficult to maintain and keep synchronized with wxWidgets releases. By 1997, versions were created with SWIG, greatly decreasing the amount of work to update the wrapper.

Project Phoenix

edit

In 2010, the Project Phoenix began; an effort to clean up the wxPython implementation and in the process make it compatible with Python 3. The project is a new implementation of wxPython, focused on improving speed, maintainability and extensibility. Like the previous version of wxPython, it wraps the wxWidgets C++ toolkit and provides access to the user interface portions of the wxWidgets API.

With the release of 4.0.0a1 wxPython in 2017, the Project Phoenix version became the official version. wxPython 4.x is the current version being developed as of June 2022.

Use

edit

wxPython enables Python to be used for cross-platform GUI applications requiring very little, if any, platform-specific code.

Example

edit

This is a simple "Hello world" module, depicting the creation of the two main objects in wxPython (the main window object and the application object), followed by passing the control to the event-driven system (by calling MainLoop()) which manages the user-interactive part of the program.


View original on Wikipedia | Back | FazBrowse Home