Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python GUI programming examples

NotificationsYou must be signed in to change notification settings

ubbn/wxPython

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.

Usage

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

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

Disclosure

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.

About

Python GUI programming examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp