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. Related articles wxPython: A Simple Notebook Example 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. […]
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 […]
September 10, 2019 by
Mike 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: ReportLab - Creating PDFs PyPDF2 - Manipulating preexisting PDFs pdfrw - Also for manipulating preexisting PDFs, but also […]
Last month, I released a new book entitled Creating GUI Applications with wxPython. In celebration of a successful launch, I have decided to do a little contest. Rules Tweet about the contest and include my handle: @driscollis Send me a direct message on Twitter or via my contact form with a link to your Tweet […]
I was recently working on a GUI application that had a wx.Notebook in it. When the user changed tabs in the notebook, I wanted the application to do an update based on the newly shown (i.e. selected) tab. I quickly discovered that while it is easy to catch the tab change event, getting the right […]