- Notifications
You must be signed in to change notification settings - Fork150
ubbn/wxPython
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
wxPython is a Python extension library for developing cross platform GUI. It is an alternative to other GUI development toolkits likePyQt,Tkinter etc. This repostiory contains a variety of code examples for developing different GUI elements with wxPython.
Below simple module demonstrantes creation of two main objects in wxPython which are the main window object and the application object, followed by passing the control to the event-driven system by callingMainLoop()
which manages the user-interactive part of the program.
#!/usr/bin/env pythonimportwxclassApp(wx.App):defOnInit(self):frame=wx.Frame(parent=None,title='Bare')frame.Show()returnTrueapp=App()app.MainLoop()
Download or fork the repository
Made For You
git clone https://github.com/ubbn/wxPython.git
or
wget https://github.com/ubbn/wxPython/archive/master.zip
Those original code examples are found in a bookwxPython in Action authored byNoel Rappin who is a senior developer and agile Coach at Table XI. Noel has authored multiple technical books, includingRails 4 Test Prescriptions,Master Space and Time With JavaScript,Trust-Driven Development and several more. If you like those example codes, I encourage you to buy his bookwxPython in Action. Contact with him on hiswebsite or follow him ontwitter.
- These files and scripts are not intended for malicious purposesDISCLAIMER:I am not affiliated with either Noel Rappin or the sales of this book.