Looking to start learning Python?

Begin Here

Tag: wxPython

wxPython: How to Fire Multiple Event Handlers

July 24, 2012 by Mike
Today on StackOverflow I saw someone wondering how to bind two functions / methods to the same event in wxPython. It's really quite easy. Here's one example:

wxPython: How to Programmatically Change wx.Notebook Pages

July 18, 2012 by Mike
Occasionally I'll see someone on the wxPython users group ask about how to make the wx.Notebook change pages (or tabs) programmatically. So I decided it was about time I figured it out. Here is some code that works for me: import random import wx ######################################################################## class TabPanel(wx.Panel): #---------------------------------------------------------------------- def __init__(self, parent, page): """""" wx.Panel.__init__(self, parent=parent) […]

wxPython: Creating Your Own Cross Platform Process Monitor with psutil

July 13, 2012 by Mike
This week, I came across a fun Python project named psutil on Google Code. It says it works on Linux, Windows, OSX and FreeBSD. What it does is grab all the running processes and gives you information on them and also gives you the ability to terminate them. So I thought it would be fun […]

wxPython: How to Create a Generic Wizard

July 12, 2012 by Mike
The other day on StackOverflow I saw someone who was struggling with the Wizard widget from wxPython. The wizard doesn't allow much customization when it comes to its buttons, so I decided to see how hard it would be to just write my own Wizard. This code is pretty limited, but here's my first beta […]

wxPython by Example Repository

July 6, 2012 by Mike
My long time readers may remember me mentioning that I was trying to put my article code into a Mercurial repository on bitbucket. I haven't been doing a very good job of that lately, but I did decide to release a whole bunch of wxPython example scripts on there. I use them a lot when […]

wxPython: Making a panel self-destruct

June 26, 2012 by Mike
The other day I saw a question on StackOverflow about how to dynamically destroy and create panels after a certain amount of time has passed. I told the fellow that he could use the examples from one of my blog articles where I destroyed and created buttons, but the dude just didn't get it. So […]
1 14 15 16 17 18 28
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary