Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

wxPpython tutorial

Rating
-
Sold
-
Pages
120
Uploaded on
17-09-2024
Written in
2024/2025

wxPpython programming tutorial

Institution
Course

Content preview

, wxPython



About the Tutorial
wxPython is a blend of wxWidgets and Python programming library. This introductory
tutorial provides the basics of GUI programming and helps you create desktop GUI
applications.


Audience
This tutorial is designed for software programmers who are keen on learning how to
develop GUI applications for the desktop.


Prerequisites
You should have a basic understanding of computer programming terminologies. A basic
understanding of Python and any of the programming languages is a plus.


Disclaimer & Copyright
 Copyright 2015 by Tutorials Point (I) Pvt. Ltd.

All the content and graphics published in this e-book are the property of Tutorials Point (I)
Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish
any contents or a part of contents of this e-book in any manner without written consent
of the publisher.

We strive to update the contents of our website and tutorials as timely and as precisely as
possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt.
Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our
website or its contents including this tutorial. If you discover any errors on our website or
in this tutorial, please notify us at .




i

, wxPython




Table of Contents
About the Tutorial .................................................................................................................................... i

Audience .................................................................................................................................................. i

Prerequisites ............................................................................................................................................ i

Disclaimer & Copyright............................................................................................................................. i

Table of Contents .................................................................................................................................... ii


1. WXPYTHON – INTRODUCTION............................................................................................. 1

2. ENVIRONMENT.................................................................................................................... 2

Windows ................................................................................................................................................. 2

Linux ....................................................................................................................................................... 2

MacOS..................................................................................................................................................... 2


3. HELLO WORLD ..................................................................................................................... 3

4. WX.FRAME CLASS ................................................................................................................ 5

Window Style Constants ......................................................................................................................... 5

wx.Frame Class Member Functions ......................................................................................................... 6

wx.Frame event binders .......................................................................................................................... 6


5. WX.PANEL CLASS ................................................................................................................. 7

6. GUI BUILDER TOOLS ............................................................................................................ 8

7. MAJOR CLASSES ................................................................................................................ 12

8. EVENT HANDLING.............................................................................................................. 15

9. LAYOUT MANAGEMENT .................................................................................................... 20

10. WX.BOXSIZER .................................................................................................................... 21
ii

, wxPython



11. WX.GRIDSIZER ................................................................................................................... 26

12. WX.FLEXIGRIDSIZER ........................................................................................................... 29

13. WX.GRIDBAGSIZER ............................................................................................................ 32

14. WX.STATICBOXSIZER.......................................................................................................... 35

15. BUTTONS ........................................................................................................................... 38

16. WX.STATICTEXT CLASS....................................................................................................... 43

17. WX.TEXTCTRL CLASS .......................................................................................................... 47

18. WX.RADIOBUTTON & WX.RADIOBOX ................................................................................ 51

19. WX.CHECKBOX CLASS ........................................................................................................ 55

20. WX.COMBOBOX & WX.CHOICE CLASS ............................................................................... 57

21. WX.GAUGE CLASS.............................................................................................................. 61

22. WX.SLIDER CLASS .............................................................................................................. 64

23. MENU ITEM, MENU & MENUBAR ..................................................................................... 67

24. WX.TOOLBAR CLASS .......................................................................................................... 72

25. WX.DIALOG CLASS ............................................................................................................. 76

MessageDialog ...................................................................................................................................... 77

wx.TextEntryDialog ............................................................................................................................... 79

wx.FileDialog Class ................................................................................................................................ 82

wx.FontDialog Class .............................................................................................................................. 86


26. WX.NOTEBOOK CLASS ....................................................................................................... 89


iii

Written for

Institution
Course

Document information

Uploaded on
September 17, 2024
Number of pages
120
Written in
2024/2025
Type
Class notes
Professor(s)
Professor jackson
Contains
All classes

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
MedTechPrep

Also available in package deal

Get to know the seller

Seller avatar
MedTechPrep Self
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
55
Last sold
-
MedTechPrep

Are you from Chamberlain University College of Nursing, The American Public University System, Western Governors University (WGU), Texas A&M, Penn State, or ASU? I provide high-quality study documents, exam prep materials, and course notes tailored to students across top institutions. Each document is carefully researched and structured to help you understand core concepts quickly and perform confidently in your assessments. Whether you're tackling nursing licensure prep, business courses, IT certifications, or general education requirements, you'll find materials designed to match your curriculum. I am committed to delivering accurate, well-organized content that saves you time and maximizes your results. Browse my store and invest in study materials that are built to help you succeed.

Read more Read less
0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions