Looking to start learning Python?

Begin Here

Tag: wxPython

wxPython: An Introduction to SplitterWindows

October 18, 2013 by Mike
The wxPython GUI toolkit comes with lots of widgets. We will be covering some widgets that are somewhat harder to get ones mind wrapped around. In this case, we will be talking about splitter windows. WxPython includes three types of splitter windows: wx.SplitterWindow fourwaysplitter which you can find in wx.lib.agw MultiSplitterWindow which you can find […]

wxPython: Using PyDispatcher instead of Pubsub

September 6, 2013 by Mike
The other day, I wrote an updated version of my wxPython pubsub article for wxPython 2.9 and realized I had never gotten around to trying PyDispatcher to see how it differed from pubsub. I'm still not sure how it differs internally, but I thought it would be fun to "port" the pubsub code from the […]

wxPython 2.9 and the Newer Pubsub API: A Simple Tutorial

September 5, 2013 by Mike
NOTE: This article is for wxPython 2.9-3.0. If you are using wxPython 4, you should go to my newer article Several years ago, I wrote a tutorial about wxPython 2.8 and its built-in pubsub module which you can read here. Back then, a new API for pubsub was added in wxPython 2.8.11.0 that could be […]

wxPython: How to Update a Progress Bar from a Thread

September 4, 2013 by Mike
Every now and then, I see someone wondering how to create a progress bar and update it. So I decided to whip up an example application that updates a progress bar (technically a wx.Gauge widget) from a thread. In this tutorial, we will create a frame with a button. When the button is pushed, it […]

wxPython: How to Redirect Python's Logging Module to a TextCtrl

August 9, 2013 by Mike
Today I was reading the wxPython Google group / mailing list and there was someone asking about how to make Python's logging module write its output to file and to a TextCtrl. It turns out that you need to create a custom logging handler to do it. At first, I tried just using a normal […]

wxPython: How to Edit Your GUI Interactively Using reload()

August 1, 2013 by Mike
Today, I came across an interesting question on StackOverflow where the author was asking how he could write a wxPython program dynamically. In other words, he wanted to be able to edit the code and basically refresh the application without closing and re-running his code. The simplest way would be to use Python's built-in reload […]
1 11 12 13 14 15 28
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary