100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
wxPpython tutorial $10.49   Add to cart

Class notes

wxPpython tutorial

 0 view  0 purchase
  • Course
  • Institution

wxPpython programming tutorial

Preview 4 out of 120  pages

  • September 17, 2024
  • 120
  • 2024/2025
  • Class notes
  • Professor jackson
  • All classes
avatar-seller
, 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 contact@tutorialspoint.com.




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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller almanuckochwa. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82956 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.49
  • (0)
  Add to cart