wxPython
wxPython
|
|
---|---|
Basic data
|
|
developer | Robin Dunn Harri Pasanen |
Current version | 4.0.4 (2019-01-05 00:00) |
operating system | platform independent |
programming language | C ++ / Python |
category | Class library |
License | Free software license, GNU General Public License |
wxpython.org |
wxPython is a wrapper for the GUI toolkit wxWidgets for the Python programming language . The usage is almost identical to that of the C ++ version. wxPython is an alternative to Tkinter , which belongs to the Python package and is based on the Tk API. Like Python and wxWidgets, wxPython is open- source and platform-independent .
example
This program creates a window with the text "Hello world!"
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, wx.ID_ANY, title=title)
text = wx.StaticText(self, label="Hallo Welt!")
app = wx.App(0)
frame = TestFrame(None, "Ein kleines Beispiel")
frame.Show()
app.MainLoop()
wxPython-based programs
- BitTorrent is a file sharing program using the BitTorrent protocol
- Dropbox , online storage / data synchronization service
- PlayOnLinux and PlayOnMac, graphical configuration programs for Wine with a focus on games
- GRASS GIS , a free open source geographic information system
- Google Drive , desktop client application for Google's cloud-based storage system.
literature
- Noel Rappin, Robin Dunn: wxPython in Action. 2006, ISBN 1-932394-62-1
- Cody Precord: wxPython 2.8 Application Development Cookbook 2010, ISBN 1-849511-78-0
Web links
- Project homepage
- Wiki of the wxPython project
- wxPython at Sourceforge.net
- List of software using wxPython
Individual evidence
- ↑ PlayOnLinux in the English language Wikipedia
- ↑ Mac gaming in the English language Wikipedia
- ↑ Open source components and licenses . Google. Retrieved April 4, 2013.