Skip to content
yangsheng1992Public
forked from ubbn/wxPython

About

Python GUI programming examples

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

wxPython in Action

wxPython is a Python extension library for developing cross platform GUI. This repostiory contains a variety of code examples for developing different GUI elements with wxPython. It is an alternative to other GUI development toolkits like PyQt, Tkinter etc.

Usage

This simple module demonstrantes the creation of the 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 calling MainLoop() which manages the user-interactive part of the program.

#!/usr/bin/env python
import wx

class App(wx.App):
    def OnInit(self):
        frame = wx.Frame(parent=None, title='Bare')
        frame.Show()
        return True

app = App()
app.MainLoop()

Download

Download or fork the repository

git clone https://github.com/ubbn/wxPython.git

or

wget https://github.com/ubbn/wxPython/archive/master.zip

Support & Contributing

Noel Rappin is a senior developer and agile Coach at Table XI. Noel has authored multiple technical books, including Rails 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 book wxPython in Action. Contact with him on his website or follow him on twitter.

DISCLAIMER: I am not affiliated with either Noel Rappin or the sales of this book.

About

Python GUI programming examples

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages