In this tutorial, you will learn how to drag an image into your #wxPython application and display it to your user.
If you enjoy this video, you may want to check out my book, Creating GUI Applications with wxPython, available on Leanpub and Amazon.
In this tutorial, you will learn how to add an image to your panel so that you have a background image to put your widgets on.
In this video tutorial, you will learn how to add icons to your wxPython application’s title bar. This is a nice feature to add to your application to give your program some branding.
In this wxPython tutorial, you will learn how to make your label flash. This is a useful way to get a user’s attention when something goes wrong.
In this tutorial, you will learn how to reset the background color of your application to the default color.
In this tutorial, you will learn how to add a wx.Notebook to your GUI application using wxPython. The notebook widget is how you would add a tabbed interface to your application.
The “Book” Controls of wxPython (Part 1 of 2)
In this tutorial, you will learn how to improve the image viewer application that you created in the previous video tutorial to make it load up a folder of images.
Then you will add some buttons so that the user can go forwards and backwards through the images or play a slideshow of the images.
Learn how to create a basic cross-platform image viewer using wxPython and Python
This video is based on one of the examples from my book, Creating GUI Applications with wxPython, which you can purchase at the following:
The code for this example can be found in chapter 2 of the book as well as on Github.
This week I came across someone who was wondering if there was a way to allow the user to edit the contents of a wx.ComboBox. By editing the contents, I mean change the names of the pre-existing choices that the ComboBox contains, not adding new items to the widget.
While editing the contents of the selected item in a ComboBox works out of the box, the widget will not save those edits automatically. So if you edit something and then choose a different option in the ComboBox, the edited item will revert back to whatever it was previously and your changes will be lost.
Let’s find out how you can create a ComboBox that allows this functionality! Continue reading Letting Users Change a wx.ComboBox’s Contents in wxPython
The Portable Document Format (PDF) is a well-known format popularized by Adobe. It purports to create a document that should render the same across platforms.
Python has several libraries that you can use to work with PDFs:
There are several more Python PDF-related packages, but those four are probably the most well known. One common task of working with PDFs is the need for merging or concatenating multiple PDFs into one PDF. Another common task is taking a PDF and splitting out one or more of its pages into a new PDF.
You will be creating a graphical user interface that does both of these tasks using PyPDF2. Continue reading wxPython – Creating a PDF Merger / Splitter Utility